Skip to main content

 PSML

A complete reference of PageSeeder's markup language PSML

<author>

Summary

A group member that is the author of a version.

This element is informational (ignored by upload).

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<fullname>
Permitted parent<version> <note>
HTML equivalent no equivalent
OpenXML equivalent no equivalent

Attributes

This element includes the following attributes:

NameTypeRequiredDescription
firstnamexs:stringnoThe first name of the author member
idxs:longnoThe ID of the author member
surnamexs:stringnoThe surname of the author member

@firstname

The first name of the member.

When generated by PageSeeder, the first name won't exceed 50 characters.

@id

The ID of the member.

This ID is specific to a PageSeeder server.

@surname

The family, or second, name of the member.**

When generated by PageSeeder, the surname won't exceed 50 characters.

**apologies to cultures that do not present their family name after their given names.

Examples

<author firstname="John" surname="Smith" id="725362" >
  <fullname>John Smith</fullname>
</author>

Schema

XML Schema

<xs:element name="author" >
  <xs:complexType>

    <xs:sequence>
      <xs:element name="fullname" type="xs:string" />
    </xs:sequence>

    <xs:attribute name="id" type="xs:long" />
    <xs:attribute name="firstname" type="xs:string" />
    <xs:attribute name="surname" type="xs:string" />
  </xs:complexType>
</xs:element>

Relax Schema

element author {
   attribute id      { xs:long },
   attribute firstname  { text },
   attribute surname    { text },
   element fullname     { text }?
}

Compatibility

This element was introduced in the beta 0.8 version of PSML and is well-supported from PageSeeder 5.7.

See also

Created on , last edited on