Skip to main content

 Element reference

PSML elements from <author> to <xref>



The <anchor> element is used to represent a named anchor point.

An anchor doesn’t necessarily have a representation, as it can be a location or a wrapper around existing markup.

This element is only used as a target – if you want to point to:

Usage context

Element categorycharacter-style
PSML levelportable
Permitted contenttext and other character-style elements
Permitted parent
HTML equivalent<a>
OpenXML equivalent<w:bookmark>


This element includes the following attributes

namexs:NCNameyesThe name of the anchor


The name of the anchor. It must be unique within the document.


Basic anchor

<anchor name="part1"/>

Anchor around image

<anchor name="figure1">
  <image ... />


XML Schema

<xs:element name="anchor">
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="character-style-group"/>
      <xs:element ref="image"/>
    <xs:attribute name="name" type="xs:NCName" use="required"/>

Relax Schema

element anchor {
   attribute name { xs:NCName },
   (character-style-group | image)+


This element was introduced in PSML beta 7 and is only supported from PageSeeder 5.6.

Created on , last edited on