QML is an XML format for structured collections of quotations. The format is defined by the QML DTD. QML is designed to be a simple means of sharing collections of quotations among people and/or applications.

QML implementations

QML files

QML tutorial

<quotations>

The root element of a QML document is the <quotations> element. All sub-elements are optional:

<title>

The quotations can have a title, or no title.

<editor>

The quotations can have an editor, or no editor. If an editor is provided, an email address should be included.

<copyright>

The quotations can contain a copyright notice, or no copyright notice.

<quotation>

The quotations can contain any number of <quotation> elements. Each quotation may (or may not) have attributes for dates and IDs. A date, if provided, should conform to the "date-time" syntax of RFC 822, including the corrections in RFC 1123. All sum-elements are optional:

<content>

The content of the quotation should be placed within this element. Any surrounding quotation marks should be removed.

<source>

The source of the quotation should be placed within this element. The optional media attribute of the source may be set to "live", "video", "audio", "url", "book", or "periodical". A source with media "url" should conform to the "absoluteURI" syntax of RFC 2396.