PSML

A complete reference of PageSeeder's markup language PSML

<displaytitle>

Summary

The <displaytitle> element is used for the computed title that is displayed for a URI.

This element is informational (ignored by upload) as it is generated from attributes of its parent element.

Usage context

Element categorymetadata
PSML levelmetadata
Permitted contenttext
Permitted parent<uri>
HTML equivalent<title>
OpenXML equivalent
PSStandard equivalent

Attributes

No attributes.

Examples

 

Display title of a document inside a <uri> element corresponding to the title of the document entered by the user.

<uri title="Alice in Wonderland" ... >
   <displaytitle>Alice in Wonderland</displaytitle>
   <description>Alice's Adventures in Wonderland is an 1865 
 novel written by English author Charles Lutwidge Dodgson 
 under the pseudonym Lewis Carroll</description>
</uri>

 

In the absence of a title supplied by the user (in @title attribute),  the display title of a document inside a <uri> element will usually correspond to the file name.

<uri path="/ps/library/novel/alice_in_wonderland.psml" ... >
   <displaytitle>alice_in_wonderland.psml</displaytitle>
   <description>Alice's Adventures in Wonderland is an 1865
 novel written by English author Charles Lutwidge Dodgson 
 under the pseudonym Lewis Carroll</description>
</uri>

Schema

XML Schema

<xs:element name="displaytitle" type="xs:string"/>

Relax Schema

element displaytitle {
  text
}

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