PSML

A complete reference of PageSeeder's markup language PSML

<note>

Summary

The note on the last notification of the fragment.

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<content> <labels>
Permitted parent<notes>
HTML equivalentno equivalent
OpenXML equivalent
PSStandard equivalent

Attributes

This element includes the following attributes

NameTypeRequiredDescription
idxs:longnoThe XLink ID of the notes.
modifiedxs:dateTimenoThe creation/modification date of the notes.
titlexs:stringnoThe title of the notes.

@id

The ID of the Xlink corresponding to the note.

This value is specific to the PageSeeder instance where the note was created.

@modified

The date the note was last modified. If it wasn't modified, it is the day the note was created.

@title

The title of the note.

Examples

A sample note with a label.

         <note  id="6342" 
modified="2015-03-24T13:
                   21:57"
       title="Typography">
   <labels>minor,typography</labels>
   <content>Fixed typographical error.</content>
</note>

Schema

XML Schema

     <xs:element  name="note">
 <xs:complexType>
  <xs:sequence>
   <xs:element name="content"
        maxOccurs="unbounded"
             type="xs:string"/>
    <xs:element  ref="labels"
                minOccurs="0"/>
  </xs:sequence>

     <xs:attribute  name="id"
               type="xs:long"/>
  <xs:attribute  name="title"
             type="xs:string"/>
  <xs:attribute 
              name="modified"
           type="xs:dateTime"/>
 </xs:complexType>
</xs:element>

Relax Schema

element note {
   attribute id { xs:long },
   attribute title { text },
   attribute modified { xs:dateTime },
   element content*,
   element labels?
}

Compatibility

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

See also

Created on , last edited on