Skip to main content

 Element reference

PSML elements from <author> to <xref>

<labels>

Summary

A comma-separated list of label values for a document, note or fragment.

The list of labels must not include any whitespace and must match the following regular expression:

[a-zA-Z0-9_\-,]*

Empty label values are ignored, for example, if there are two successive commas.

Usage context

Element categorymetadata
PSML levelmetadata
Permitted contentlabel-list
Permitted parent<locator> <compare> <compareto> <note>  <version> <uri>
HTML equivalentno equivalent
OpenXML equivalentno equivalent

Attributes

This element does not have any attributes.

Examples

The following note includes labels “important” and “spelling”:

<note>
  <labels>important,spelling</labels>
</note>

Schema

XML Schema

<xs:element name="labels" type="label-list"/>

Relax Schema

element labels { label-list }

Compatibility

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

Created on , last edited on