Skip to main content

 Element reference

PSML elements from <author> to <xref>

<documentinfo>

Summary

Metadata at the document level.

This element is a wrapper for information about the underlying document URI, reverse cross-references and document versions.

For metadata at the fragment level see <fragmentinfo>.

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<uri> <publication> <compareto> <versions> <reversexrefs>
Permitted parent<document>
HTML equivalent<head> 
OpenXML equivalent

Attributes

This element does not have any attributes.

Examples

A document without any reverse reference or version has the following document info:

<documentinfo>
  <uri> ... </uri>
</documentinfo>

Schema

XML Schema

<xs:element name="documentinfo">

  <xs:complexType>
    <xs:all>
      <xs:element ref="uri"/>
      <xs:element ref="publication"  minOccurs="0" />
      <xs:element ref="compareto"    minOccurs="0"/>
      <xs:element ref="versions"     minOccurs="0"/>
      <xs:element ref="reversexrefs" minOccurs="0"/>
    </xs:all>
  </xs:complexType>
</xs:element>

Relax Schema

element documentinfo {
   element uri,
   element publication?,
   element compareto?,
   element versions?,
   element reversexrefs?
}

Compatibility

This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.

Created on , last edited on