Skip to main content

 Element reference

PSML elements from <author> to <xref>

<section-ref>

Summary

A reference to a <section> element in the document structure. Only appears when comparing documents.

INFORMATIONAL - ignored by upload.

Usage context

Element categorymetadata
PSML levelportable
Permitted content<title> <fragment-ref>
Permitted parent<structure>
HTML equivalent
OpenXML equivalent

The <title> element was permitted here in PSML v1.4 in PageSeeder 6.00.

Attributes

This element includes the following attributes

NameTypeRequiredDescription
idsection-idyesThe section ID.
titlexs:stringnoThe title for the section

@id

The section ID which must be unique within the document.

@title

A section title that isn’t considered to be part of the content.

This attribute was introduced in PSML v1.4 in PageSeeder 6.00.

Examples

<section-ref id="content">
  <fragment-ref id="5"/>
  <fragment-ref id="2"/>
</section-ref>

Schema

XML Schema

<xs:element name="section-ref">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="title" minOccurs="0" type="xs:string"/>
      <xs:element ref="fragment-ref"
                  minOccurs="0"
                  maxOccurs="unbounded" />
    </xs:sequence>
    <xs:attribute name="id" type="section-id" use="required" />
    <xs:attribute name="title" type="xs:string" use="optional"/>
  </xs:complexType>
</xs:element>

Relax schema

element section-ref {
   attribute id { section-id },
   attribute title { text }?,
   element title { text }?,
   element fragment-ref*
}

Compatibility

This element was introduced in PSML beta 10 and is supported from PageSeeder 5.9.

Created on , last edited on