PSML

A complete reference of PageSeeder's markup language PSML

<title>

Summary

The <title> element is an immutable, out-of-band text string. Designed to provide guidance for users but bound to <section> by document type, they are stable enough to code against. 

If display of the <title> content to users is not required, use the @title attribute on the <section> instead.

Usage context

Element categorystructure
PSML levelportable
Permitted contenttext
Permitted parent<section> <compareto>
HTML equivalent<h1> to <h6>
OpenXML equivalent
PSStandard equivalent<title>

Attributes

No attributes.

Examples

Example #1

Below is a section with a title.

<section id="metadata" fragmenttype="coredata">
   <title>Metadata</title>
   <properties-fragment type="coredata" id="1">
     ...
   </properties-fragment>
</section>

Schema

XML Schema

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

Relax Schema

element title { text }

Compatibility

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

PS Standard XML

When used inside a section as a section title, it is no longer possible to set the title level in PSML.

Also section titles which should not be part of the printable content or table of contents should be expressed as @title attributes on the <section> element instead.

See also

Created on , last edited on