PSML

A complete reference of PageSeeder's markup language PSML

<anchor>

Summary

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

An anchor does not necessarily have a representation, as it can be simply a location or a wrapper around existing markup.

Usage context

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

 

Attributes

This element includes the following attributes

NameTypeRequiredDescription
namexs:NCNameyesThe name of the anchor.

@name

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

Examples

simple anchor

<anchor name="part1"/>

anchor around image

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

Schema

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:choice>
      <xs:attribute name="name" type="xs:NCName" use="required"/>
   </xs:complexType>
</xs:element>

Relax Schema

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

Compatibility

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

See also

<link>

Created on , last edited on