<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 category | metadata |
|---|---|
| PSML level | metadata |
| Permitted content | text |
| Permitted parent | <uri> |
| HTML equivalent | <title> |
| OpenXML equivalent |
Attributes
This element does not have any attributes.
Examples
Manual title
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>
Title from filename
In the absence of a title supplied by the user (in @title attribute), the display title of a document inside a <uri> element corresponds to the filename except if @external=true in which case it is the full URL.
<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.