Newer
Older
XML / quick-reference.markdown
# XML authoring framework quick reference

## Conventions

* All items, elements, and attributes are listed in alphabetical order. When there are multiple elements for the same item, there is no preference for any particular element over another, as long as the resulting markup is well-formed.
* Typical EBNF-style notation applies: `[ ]` indicates optional, `|` indicates alternation, `{ }` indicates repetition, etc.
* **bold** indicates a default value.

## Basic formatting

### Page elements (`basic-page-elements.xml`)

| Item              | Element(s)        | Attributes                                            | Notes
| ----              | ----------        | ----------                                            | -----
| horizontal rule   | `horizontal-rule` |                                                       |
|                   | `hr`              |                                                       |
|                   | `hrule`           |                                                       |
| horizontal skip   | `horizontal-skip` | `size=fill|`*`<LaTeX length>`*                        | no effect in HTML
|                   | `hskip`           |                                                       |
| forced line break | `br`              |                                                       |
|                   | `line-break`      |                                                       |
|                   | `newline`         |                                                       |
| no page break     | `mbox`            |                                                       |
|                   | `no-break`        |                                                       |
| page break        | `new-page`        | `[caption-text=`*`<string>`*`]`                       | “**`continues over…`**”
|                   | `newpage`         | `[print-caption=`**`no`**`|yes]`                      |
|                   | `page-break`      |                                                       |
|                   | `pagebreak`       |                                                       |
| paragraph         | `P`               | `[align=center|left|right]`                           |
|                   | `p`               | `[border=`**`no`**`|yes]`                             |
|                   | `para`            | `[indent=no|`**`yes`**`]`                             |
|                   | `paragraph`       |                                                       |
| vertical skip     | `vertical-skip`   | `[size=fill|large|medium|small|`*`<LaTeX length>`*`]` | **inserts a paragraph skip**
|                   | `vskip`           |                                                       |

### Text formatting and layout (`basic-text-formatting.xml`)

| Item              | Element(s)        | Attributes    | Notes
| ----              | ----------        | ----------    | -----
| bold face         | `bold`            |               |
| center            | `center`          |               |
|                   | `centering`       |               |
|                   | `centre`          |               |
|                   | `centring`        |               |
| emphasis          | `em`              |               |
|                   | `emph`            |               |
| foreign word      | `foreign`         |               |
| italics           | `italic`          |               |
| strikethrough     | `line-through`    |               |
|                   | `linethrough`     |               |
|                   | `strike-through`  |               |
|                   | `strikethrough`   |               |
| strong emphasis   | `strong`          |               |
| term              | `term`            |               |
| underline         | `u`               |               |
|                   | `underline`       |               |

### Font size and style (`fonts.xml`)

| Item                  | Element(s)        | Attributes                            | Notes
| ----                  | ----------        | ----------                            | -----
| monospaced type       | `monospace`       |                                       |
|                       | `tt`              |                                       |
|                       | `typewriter`      |                                       |
| sans-serif type       | `sans`            |                                       |
|                       | `sans-serif`      |                                       |
|                       | `sf`              |                                       |
|                       | `ss`              |                                       |
| font family           | `font`            | `[fontspec-options=`*`<string>`*`]`   | XeLaTeX: `fontspec` package options
|                       | `typeface`        | `[html=`*`<name>`*`]`                 | HTML: CSS font name(s)
|                       |                   | `[latex=`*`<name>`*`]`                | LaTeX: LaTeX font name
|                       |                   | `[xelatex=`*`<name>`*`]`              | XeLaTeX: `fontspec` font name
| “tiny” font size      | `tiny`            |                                       | HTML: `<smaller>` × 4
|                       |                   |                                       | LaTeX: `\tiny`
| “script” font size    | `scriptsize`      |                                       | HTML: `<smaller>` × 3
|                       |                   |                                       | LaTeX: `\scriptsize`
| “footnote” font size  | `footnotesize`    |                                       | HTML: `<smaller>` × 2
|                       |                   |                                       | LaTeX: `\footnotesize`
| “small” font size     | `small`           |                                       | HTML: `<smaller>`
|                       |                   |                                       | LaTeX: `\small`
| “large” font size     | `large`           |                                       | HTML: `<larger>`
|                       |                   |                                       | LaTeX: `\large`
| “Large” font size     | `Large`           |                                       | HTML: `<larger>` × 2
|                       |                   |                                       | LaTeX: `\Large`
| “LARGE” font size     | `LARGE`           |                                       | HTML: `<larger>` × 3
|                       |                   |                                       | LaTeX: `\LARGE`
| “huge” font size      | `huge`            |                                       | HTML: `<larger>` × 4
|                       |                   |                                       | LaTeX: `\huge`
| “Huge” font size      | `Huge`            |                                       | HTML: `<larger>` × 5
|                       |                   |                                       | LaTeX: `\Huge`
| superscript           | `superscript`     |                                       |
| subscript             | `subscript`       |                                       |

### Inline code and code blocks (`code-formatting.xml`)

| Item              | Element(s)        | Attributes                        | Notes
| ----              | ----------        | ----------                        | -----
| code (block)      | `code-block`      | `[allow-breaks=no|`**`yes`**`]`   | `code-block` requires `<![CDATA[ … ]]>`
|                   |                   | `[language=`*`<name>`*`]`         | LaTeX: `listings` language name
| code (inline)     | `code`            | `[language=`*`<name>`*`]`         | LaTeX: `listings` language name
| verbatim (block)  | `verbatim`        |                                   |
|                   | `verbatim-block`  |                                   |
| verbatim (inline) | `inline-verbatim` |                                   |
|                   | `verb`            |                                   |

## Bibliographies (`bibliography.xml`)

| Item                  | Element(s)        | Attributes                        | Notes
| ----                  | ----------        | ----------                        | -----
| bibliography          | `bibliography`    | `[name=`*`<section title>`*`]`    | “**`References`**”
| bibliography entry    | `item`            | `label=`*`<string>`*              | within `<bibliography>`
| citation              | `cite`            |                                   |
| cited item            | `item`            | `label=`*`<string>`*              | within `<cite>`

## Miscellaneous

### Document build date (`build-date.xml`)

| Item                  | Element(s)        | Attributes                            | Notes
| ----                  | ----------        | ----------                            | -----
| displayed build date  | `build-date`      | `[format=`*`<XML date picture>`*`]`   |   **`YYYY-MM-DD hh:mm:ss`**
|                       |                   | `[style=footer|`**`inline`**`]`       |

### Conditional processing (`conditional-processing.xml`)

| Item                  | Element(s)        | Attributes                            | Notes
| ----                  | ----------        | ----------                            | -----
| process when format   | `process-when`    | `format=latex|html`                   |

modules/cross-references.xml:   <template name="reference" match="reference[@label]">
modules/cross-references.xml:   <template name="broken-reference" match="reference[not( @label )]">
modules/cross-references.xml:   <template name="section-reference" match="section" mode="reference">
modules/cross-references.xml:   <template name="figure-reference" match="figure" mode="reference">
modules/cross-references.xml:   <template name="table-reference" match="table" mode="reference">
modules/cross-references.xml:   <template name="exercise-reference" match="exercise" mode="reference">
modules/cross-references.xml:   <template name="item-page-reference" match="section|figure|table" mode="page-reference">
modules/cross-references.xml:   <template name="page" match="page[@label]">
modules/cross-references.xml:   <template name="broken-page" match="page[not( @label )]">
modules/cross-references.xml:   <template name="direct-page-reference" match="page[@label]" mode="reference">
modules/emoticons.xml:  <template name="emoticon" match="emoticon|smiley">
modules/emoticons.xml:  <template name="emoticon-strip" match="emoticon|smiley" mode="strip">
modules/floaters.xml:   <template name="figure" match="figure">
modules/floaters.xml:   <template name="table" match="table">
modules/floaters.xml:   <template name="multipart-table" match="table[count(part) gt 0]">
modules/floaters.xml:   <template name="figure-caption" match="figure/caption">
modules/floaters.xml:   <template name="table-caption" match="table/caption">
modules/footnotes.xml:  <template name="footnote" match="footnote">
modules/footnotes.xml:  <template name="footnote-list" match="footnote" mode="list">
modules/global-elements.xml:    <template name="SubjectCode" match="SubjectCode">
modules/global-elements.xml:    <template name="SubjectCode-strip" match="SubjectCode" mode="strip">
modules/global-elements.xml:    <template name="PaperNumber" match="PaperNumber">
modules/global-elements.xml:    <template name="PaperNumber-strip" match="PaperNumber" mode="strip">
modules/global-elements.xml:    <template name="PaperCode" match="PaperCode">
modules/global-elements.xml:    <template name="PaperCode-strip" match="PaperCode" mode="strip">
modules/global-elements.xml:    <template name="PaperYear" match="PaperYear">
modules/global-elements.xml:    <template name="PaperYear-strip" match="PaperYear" mode="strip">
modules/global-elements.xml:    <template name="PaperPeriod" match="PaperPeriod">
modules/global-elements.xml:    <template name="PaperPeriod-strip" match="PaperPeriod" mode="strip">
modules/global-elements.xml:    <template name="OracleServer" match="OracleServer">
modules/global-elements.xml:    <template name="OracleServer-strip" match="OracleServer" mode="strip">
modules/global-elements.xml:    <template name="OracleServerRelease" match="OracleServerRelease">
modules/global-elements.xml:    <template name="OracleServerRelease-strip" match="OracleServerRelease" mode="strip">
modules/global-elements.xml:    <template name="OracleServerVersion" match="OracleServerVersion">
modules/global-elements.xml:    <template name="OracleServerVersion-strip" match="OracleServerVersion" mode="strip">
modules/global-elements.xml:    <template name="Blackboard" match="Blackboard">
modules/global-elements.xml:    <template name="Blackboard-strip" match="Blackboard" mode="strip">
modules/global-elements.xml:    <template name="DueDate" match="DueDate">
modules/global-elements.xml:    <template name="DueDate-strip" match="DueDate" mode="strip">
modules/greek-characters.xml:   <template name="alpha" match="alpha|greek-small-letter-alpha">
modules/greek-characters.xml:   <template name="alpha-strip" match="alpha|greek-small-letter-alpha" mode="strip">
modules/greek-characters.xml:   <template name="capital-alpha" match="capital-alpha|greek-capital-letter-alpha">
modules/greek-characters.xml:   <template name="capital-alpha-stip" match="capital-alpha|greek-capital-letter-alpha" mode="strip">
modules/greek-characters.xml:   <template name="beta" match="beta|greek-small-letter-beta">
modules/greek-characters.xml:   <template name="beta-strip" match="beta|greek-small-letter-beta" mode="strip">
modules/greek-characters.xml:   <template name="capital-beta" match="capital-beta|greek-capital-letter-beta">
modules/greek-characters.xml:   <template name="capital-beta-stip" match="capital-beta|greek-capital-letter-beta" mode="strip">
modules/greek-characters.xml:   <template name="gamma" match="gamma|greek-small-letter-gamma">
modules/greek-characters.xml:   <template name="gamma-strip" match="gamma|greek-small-letter-gamma" mode="strip">
modules/greek-characters.xml:   <template name="capital-gamma" match="capital-gamma|greek-capital-letter-gamma">
modules/greek-characters.xml:   <template name="capital-gamma-stip" match="capital-gamma|greek-capital-letter-gamma" mode="strip">
modules/greek-characters.xml:   <template name="delta" match="delta|greek-small-letter-delta">
modules/greek-characters.xml:   <template name="delta-strip" match="delta|greek-small-letter-delta" mode="strip">
modules/greek-characters.xml:   <template name="capital-delta" match="capital-delta|greek-capital-letter-delta">
modules/greek-characters.xml:   <template name="capital-delta-stip" match="capital-delta|greek-capital-letter-delta" mode="strip">
modules/greek-characters.xml:   <template name="epsilon" match="epsilon|greek-small-letter-epsilon">
modules/greek-characters.xml:   <template name="epsilon-strip" match="epsilon|greek-small-letter-epsilon" mode="strip">
modules/greek-characters.xml:   <template name="capital-epsilon" match="capital-epsilon|greek-capital-letter-epsilon">
modules/greek-characters.xml:   <template name="capital-epsilon-stip" match="capital-epsilon|greek-capital-letter-epsilon" mode="strip">
modules/greek-characters.xml:   <template name="zeta" match="zeta|greek-small-letter-zeta">
modules/greek-characters.xml:   <template name="zeta-strip" match="zeta|greek-small-letter-zeta" mode="strip">
modules/greek-characters.xml:   <template name="capital-zeta" match="capital-zeta|greek-capital-letter-zeta">
modules/greek-characters.xml:   <template name="capital-zeta-stip" match="capital-zeta|greek-capital-letter-zeta" mode="strip">
modules/greek-characters.xml:   <template name="eta" match="eta|greek-small-letter-eta">
modules/greek-characters.xml:   <template name="eta-strip" match="eta|greek-small-letter-eta" mode="strip">
modules/greek-characters.xml:   <template name="capital-eta" match="capital-eta|greek-capital-letter-eta">
modules/greek-characters.xml:   <template name="capital-eta-stip" match="capital-eta|greek-capital-letter-eta" mode="strip">
modules/greek-characters.xml:   <template name="theta" match="theta|greek-small-letter-theta">
modules/greek-characters.xml:   <template name="theta-strip" match="theta|greek-small-letter-theta" mode="strip">
modules/greek-characters.xml:   <template name="capital-theta" match="capital-theta|greek-capital-letter-theta">
modules/greek-characters.xml:   <template name="capital-theta-stip" match="capital-theta|greek-capital-letter-theta" mode="strip">
modules/greek-characters.xml:   <template name="iota" match="iota|greek-small-letter-iota">
modules/greek-characters.xml:   <template name="iota-strip" match="iota|greek-small-letter-iota" mode="strip">
modules/greek-characters.xml:   <template name="capital-iota" match="capital-iota|greek-capital-letter-iota">
modules/greek-characters.xml:   <template name="capital-iota-stip" match="capital-iota|greek-capital-letter-iota" mode="strip">
modules/greek-characters.xml:   <template name="kappa" match="kappa|greek-small-letter-kappa">
modules/greek-characters.xml:   <template name="kappa-strip" match="kappa|greek-small-letter-kappa" mode="strip">
modules/greek-characters.xml:   <template name="capital-kappa" match="capital-kappa|greek-capital-letter-kappa">
modules/greek-characters.xml:   <template name="capital-kappa-stip" match="capital-kappa|greek-capital-letter-kappa" mode="strip">
modules/greek-characters.xml:   <template name="lambda" match="lambda|greek-small-letter-lambda">
modules/greek-characters.xml:   <template name="lambda-strip" match="lambda|greek-small-letter-lambda" mode="strip">
modules/greek-characters.xml:   <template name="capital-lambda" match="capital-lambda|greek-capital-letter-lambda">
modules/greek-characters.xml:   <template name="capital-lambda-stip" match="capital-lambda|greek-capital-letter-lambda" mode="strip">
modules/greek-characters.xml:   <template name="mu" match="mu|greek-small-letter-mu">
modules/greek-characters.xml:   <template name="mu-strip" match="mu|greek-small-letter-mu" mode="strip">
modules/greek-characters.xml:   <template name="capital-mu" match="capital-mu|greek-capital-letter-mu">
modules/greek-characters.xml:   <template name="capital-mu-stip" match="capital-mu|greek-capital-letter-mu" mode="strip">
modules/greek-characters.xml:   <template name="nu" match="nu|greek-small-letter-nu">
modules/greek-characters.xml:   <template name="nu-strip" match="nu|greek-small-letter-nu" mode="strip">
modules/greek-characters.xml:   <template name="capital-nu" match="capital-nu|greek-capital-letter-nu">
modules/greek-characters.xml:   <template name="capital-nu-stip" match="capital-nu|greek-capital-letter-nu" mode="strip">
modules/greek-characters.xml:   <template name="xi" match="xi|greek-small-letter-xi">
modules/greek-characters.xml:   <template name="xi-strip" match="xi|greek-small-letter-xi" mode="strip">
modules/greek-characters.xml:   <template name="capital-xi" match="capital-xi|greek-capital-letter-xi">
modules/greek-characters.xml:   <template name="capital-xi-stip" match="capital-xi|greek-capital-letter-xi" mode="strip">
modules/greek-characters.xml:   <template name="omicron" match="omicron|greek-small-letter-omicron">
modules/greek-characters.xml:   <template name="omicron-strip" match="omicron|greek-small-letter-omicron" mode="strip">
modules/greek-characters.xml:   <template name="capital-omicron" match="capital-omicron|greek-capital-letter-omicron">
modules/greek-characters.xml:   <template name="capital-omicron-stip" match="capital-omicron|greek-capital-letter-omicron" mode="strip">
modules/greek-characters.xml:   <template name="pi" match="pi|greek-small-letter-pi">
modules/greek-characters.xml:   <template name="pi-strip" match="pi|greek-small-letter-pi" mode="strip">
modules/greek-characters.xml:   <template name="capital-pi" match="capital-pi|greek-capital-letter-pi">
modules/greek-characters.xml:   <template name="capital-pi-stip" match="capital-pi|greek-capital-letter-pi" mode="strip">
modules/greek-characters.xml:   <template name="rho" match="rho|greek-small-letter-rho">
modules/greek-characters.xml:   <template name="rho-strip" match="rho|greek-small-letter-rho" mode="strip">
modules/greek-characters.xml:   <template name="capital-rho" match="capital-rho|greek-capital-letter-rho">
modules/greek-characters.xml:   <template name="capital-rho-stip" match="capital-rho|greek-capital-letter-rho" mode="strip">
modules/greek-characters.xml:   <template name="sigma" match="sigma|greek-small-letter-sigma">
modules/greek-characters.xml:   <template name="sigma-strip" match="sigma|greek-small-letter-sigma" mode="strip">
modules/greek-characters.xml:   <template name="capital-sigma" match="capital-sigma|greek-capital-letter-sigma">
modules/greek-characters.xml:   <template name="capital-sigma-stip" match="capital-sigma|greek-capital-letter-sigma" mode="strip">
modules/greek-characters.xml:   <template name="tau" match="tau|greek-small-letter-tau">
modules/greek-characters.xml:   <template name="tau-strip" match="tau|greek-small-letter-tau" mode="strip">
modules/greek-characters.xml:   <template name="capital-tau" match="capital-tau|greek-capital-letter-tau">
modules/greek-characters.xml:   <template name="capital-tau-stip" match="capital-tau|greek-capital-letter-tau" mode="strip">
modules/greek-characters.xml:   <template name="upsilon" match="upsilon|greek-small-letter-upsilon">
modules/greek-characters.xml:   <template name="upsilon-strip" match="upsilon|greek-small-letter-upsilon" mode="strip">
modules/greek-characters.xml:   <template name="capital-upsilon" match="capital-upsilon|greek-capital-letter-upsilon">
modules/greek-characters.xml:   <template name="capital-upsilon-stip" match="capital-upsilon|greek-capital-letter-upsilon" mode="strip">
modules/greek-characters.xml:   <template name="phi" match="phi|greek-phi-symbol">
modules/greek-characters.xml:   <template name="phi-strip" match="phi|greek-phi-symbol" mode="strip">
modules/greek-characters.xml:   <template name="capital-phi" match="capital-phi|greek-capital-letter-phi">
modules/greek-characters.xml:   <template name="capital-phi-stip" match="capital-phi|greek-capital-letter-phi" mode="strip">
modules/greek-characters.xml:   <template name="chi" match="chi|greek-small-letter-chi">
modules/greek-characters.xml:   <template name="chi-strip" match="chi|greek-small-letter-chi" mode="strip">
modules/greek-characters.xml:   <template name="capital-chi" match="capital-chi|greek-capital-letter-chi">
modules/greek-characters.xml:   <template name="capital-chi-stip" match="capital-chi|greek-capital-letter-chi" mode="strip">
modules/greek-characters.xml:   <template name="psi" match="psi|greek-small-letter-psi">
modules/greek-characters.xml:   <template name="psi-strip" match="psi|greek-small-letter-psi" mode="strip">
modules/greek-characters.xml:   <template name="capital-psi" match="capital-psi|greek-capital-letter-psi">
modules/greek-characters.xml:   <template name="capital-psi-stip" match="capital-psi|greek-capital-letter-psi" mode="strip">
modules/greek-characters.xml:   <template name="omega" match="omega|greek-small-letter-omega">
modules/greek-characters.xml:   <template name="omega-strip" match="omega|greek-small-letter-omega" mode="strip">
modules/greek-characters.xml:   <template name="capital-omega" match="capital-omega|greek-capital-letter-omega">
modules/greek-characters.xml:   <template name="capital-omega-stip" match="capital-omega|greek-capital-letter-omega" mode="strip">
modules/hyperlinks.xml: <template name="hyperlink-label" match="hyperlink[@label and node()]">
modules/hyperlinks.xml: <template name="hyperlink-url" match="hyperlink[@url and node()]">
modules/hyperlinks.xml: <template name="empty-hyperlink-url" match="hyperlink[@url and not( node() )]">
modules/hyperlinks.xml: <template name="empty-hyperlink-label" match="hyperlink[@label and not( node() )]">
modules/hyperlinks.xml: <template name="hyperlink-bogus" match="hyperlink[@url and @label]" priority="2">
modules/hyperlinks.xml: <template name="hyperlink-internal" match="hyperlink" mode="hyperlink-internal">
modules/hyperlinks.xml: <template name="empty-hyperlink-url-internal" match="hyperlink" mode="empty-hyperlink-internal">
modules/hyperlinks.xml: <template name="url" match="url|uri|email|e-mail|email-address|e-mail-address">
modules/images.xml: <template name="latex-image" match="image" mode="latex">
modules/images.xml: <template name="normal-image" match="image[count(provide-large-version) = 0]">
modules/images.xml: <template name="zoomable-image" match="image[count(provide-large-version) != 0]">
modules/inclusions.xml: <template name="include-document" match="include-document">
modules/inclusions.xml: <template name="include-xml" match="include-document[@type='xml']">
modules/latex.xml:  <template name="environment" match="environment" />
modules/latex.xml:  <template name="latex-package" match="latex-packages/package">
modules/latex.xml:  <template name="latex-command" match="latex-commands/command">
modules/latex.xml:  <template name="latex-hyphenation" match="latex-commands/hyphenation">
modules/latex.xml:  <template name="latex-documentclass" match="latex-documentclass|documentclass">
modules/latex.xml:  <template name="latex-document-options" match="latex-document-options">
modules/latex.xml:  <template name="tabular-column-separator">
modules/lists.xml:  <template name="itemised-list" match="itemised-list|itemize|unordered-list|bulleted-list|bullet-list|bullet-points|UL|ul">
modules/lists.xml:  <template name="enumerated-list" match="enumerated-list|enumerate|ordered-list|numbered-list|question-list|OL|ol">
modules/lists.xml:  <template name="definition-list" match="definition-list|description-list|DL|dl">
modules/lists.xml:  <template name="list-item" match="item" mode="normal">
modules/lists.xml:  <template name="enumerated-item-value" match="item[@value]" mode="enumerated-list">
modules/lists.xml:  <template name="enumerated-item" match="item[not( @value )]" mode="enumerated-list">
modules/lists.xml:  <template name="definition-item" match="item" mode="definition-list">
modules/lists.xml:  <template name="keyword" match="item/keyword|item/term|item/topic|item/DT|item/dt">
modules/lists.xml:  <template name="definition" match="item/definition|item/description|item/discourse|item/DD|item/dd">
modules/mathematical-symbols.xml:   <template name="plus-operator" match="plus|plus-sign">
modules/mathematical-symbols.xml:   <template name="times-operator" match="times|multiply|multiplication|multiplication-sign">
modules/mathematical-symbols.xml:   <template name="minus-operator" match="minus|subtract|minus-sign">
modules/mathematical-symbols.xml:   <template name="divide-operator" match="divide|division|division-slash">
modules/mathematical-symbols.xml:   <template name="equals-operator" match="equals|eq|equals-sign|equality">
modules/mathematical-symbols.xml:   <template name="not-equals-operator" match="not-equals|ne|inequality|not-equal-to">
modules/mathematical-symbols.xml:   <template name="approximately-equals-operator" match="approximately-equals|approximately-equal-to|approx|almost-equal-to">
modules/mathematical-symbols.xml:   <template name="greater-than-operator" match="greater-than|gt|greater-than-sign">
modules/mathematical-symbols.xml:   <template name="greater-equals-operator" match="greater-equals|ge|greater-than-or-equal-to">
modules/mathematical-symbols.xml:   <template name="less-than-operator" match="less-than|lt|less-than-sign">
modules/mathematical-symbols.xml:   <template name="less-equals-operator" match="less-equals|le|less-than-or-equal-to">
modules/mathematical-symbols.xml:   <template name="empty-set-sign" match="empty-set-sign|empty-set|null">
modules/mathematical-symbols.xml:   <template name="empty-set-sign-strip" match="empty-set-sign|empty-set|null" mode="strip">
modules/mathematical-symbols.xml:   <template name="element-sign" match="element-sign|element|element-of|is-element-of|is-an-element-of">
modules/mathematical-symbols.xml:   <template name="element-sign-strip" match="element-sign|element|element-of|is-element-of|is-an-element-of" mode="strip">
modules/mathematical-symbols.xml:   <template name="not-element-sign" match="not-element-sign|not-element|not-element-of|is-not-element-of|is-not-an-element-of|not-an-element-of">
modules/mathematical-symbols.xml:   <template name="not-element-sign-strip" match="not-element-sign|not-element|not-element-of|is-not-element-of|is-not-an-element-of|not-an-element-of" mode="strip">
modules/mathematical-symbols.xml:   <template name="intersect-operator" match="intersect-operator|intersect|intersection|cap">
modules/mathematical-symbols.xml:   <template name="intersect-operator-strip" match="intersect-operator|intersect|intersection|cap" mode="strip">
modules/mathematical-symbols.xml:   <template name="union-operator" match="union-operator|union|cup">
modules/mathematical-symbols.xml:   <template name="union-operator-strip" match="union-operator|union|cup" mode="strip">
modules/mathematical-symbols.xml:   <template name="strict-subset-sign" match="subset-sign|subset|subset-of|is-subset-of|is-a-subset-of|strict-subset">
modules/mathematical-symbols.xml:   <template name="strict-subset-sign-strip" match="subset-sign|subset|subset-of|is-subset-of|is-a-subset-of|strict-subset" mode="strip">
modules/mathematical-symbols.xml:   <template name="strict-superset-sign" match="superset-sign|superset|superset-of|is-superset-of|is-a-superset-of">
modules/mathematical-symbols.xml:   <template name="strict-superset-sign-strip" match="superset-sign|superset|superset-of|is-superset-of|is-a-superset-of" mode="strip">
modules/mathematical-symbols.xml:   <template name="inclusive-subset-sign" match="inclusive-subset|subset-or-equal|subset-of-or-equal-to|is-subset-of-or-equal-to|is-a-subset-of-or-equal-to">
modules/mathematical-symbols.xml:   <template name="inclusive-subset-sign-strip" match="inclusive-subset|subset-or-equal|subset-of-or-equal-to|is-subset-of-or-equal-to|is-a-subset-of-or-equal-to" mode="strip">
modules/mathematical-symbols.xml:   <template name="inclusive-superset-sign" match="inclusive-superset|superset-or-equal|superset-of-or-equal-to|is-superset-of-or-equal-to|is-a-superset-of-or-equal-to">
modules/mathematical-symbols.xml:   <template name="inclusive-superset-sign-strip" match="inclusive-superset|superset-or-equal|superset-of-or-equal-to|is-superset-of-or-equal-to|is-a-superset-of-or-equal-to" mode="strip">
modules/mathematical-symbols.xml:   <template name="logical-not-operator" match="logical-not-operator|logical-negation-operator|logical-negation|logical-not|not|negation|neg|not-sign">
modules/mathematical-symbols.xml:   <template name="logical-not-operator-strip" match="logical-not-operator|logical-negation-operator|logical-negation|logical-not|not|negation|neg|not-sign" mode="strip">
modules/mathematical-symbols.xml:   <template name="logical-and-operator" match="logical-and-operator|logical-and|and|and-operator|hat|wedge">
modules/mathematical-symbols.xml:   <template name="logical-and-operator-strip" match="logical-and-operator|logical-and|and|and-operator|hat|wedge" mode="strip">
modules/mathematical-symbols.xml:   <template name="logical-or-operator" match="logical-or-operator|logical-or|or|or-operator|vee">
modules/mathematical-symbols.xml:   <template name="logical-or-operator-strip" match="logical-or-operator|logical-or|or|or-operator|vee" mode="strip">
modules/mathematical-symbols.xml:   <template name="right-arrow" match="right-arrow|rightarrow|implies|rarr|rarrow|rightwards-arrow">
modules/mathematical-symbols.xml:   <template name="left-arrow" match="left-arrow|leftarrow|larr|larrow|leftwards-arrow">
modules/maths.xml:  <template name="math-inline" match="math|math[@style='inline']">
modules/maths.xml:  <template name="math-display" match="math[@style='display']">
modules/maths.xml:  <template name="equation-array" match="equation-array">
modules/maths.xml:  <template match="equation-array/row">
modules/maths.xml:  <template name="math-text" match="text">
modules/maths.xml:  <template name="calligraphic-text" match="calligraphic|cursive">
modules/maths.xml:  <template name="digit-group-separator" match="digit-group-separator|digitsep">
modules/maths.xml:  <template name="superscript-math" match="math//superscript">
modules/maths.xml:  <template name="subscript-math" match="math//subscript">
modules/maths.xml:  <template name="log-like-function" match="function">
modules/maths.xml:  <template name="math-variable" match="variable|var">
modules/maths.xml:  <template name="math-fraction" match="fraction">
modules/menus.xml:  <template name="menu-separator" match="menu-separator|menusep|menu/separator">
modules/menus.xml:  <template name="menu-separator-strip" match="menu-separator|menusep|menu/separator" mode="strip">
modules/menus.xml:  <template name="menu-item" match="menu/item">
modules/meta-elements.xml:  <template name="omit" match="omit" />
modules/meta-elements.xml:  <template name="comment" match="comment">
modules/meta-elements.xml:  <template name="todo" match="todo|to-do|incomplete|check">
modules/miscellaneous-symbols.xml:  <template name="sharp-sign" match="sharp|hash|number-sign">
modules/miscellaneous-symbols.xml:  <template name="sharp-sign-strip" match="sharp|hash|number-sign" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="dollar" match="dollar|dollar-sign">
modules/miscellaneous-symbols.xml:  <template name="dollar-strip" match="dollar|dollar-sign" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="percent-sign" match="percent-sign|percentage-sign|percent">
modules/miscellaneous-symbols.xml:  <template name="percent-sign-strip" match="percent-sign|percentage-sign|percent" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="ampersand" match="ampersand">
modules/miscellaneous-symbols.xml:  <template name="ampersand-strip" match="ampersand" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="backslash" match="backslash">
modules/miscellaneous-symbols.xml:  <template name="backslash-strip" match="backslash" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="underscore" match="underscore|low-line">
modules/miscellaneous-symbols.xml:  <template name="underscore-strip" match="underscore|low-line" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="left-curly-bracket" match="left-curly-bracket|left-curly-brace|left-brace">
modules/miscellaneous-symbols.xml:  <template name="left-curly-bracket-strip" match="left-curly-bracket|left-curly-brace|left-brace" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="right-curly-bracket" match="right-curly-bracket|right-curly-brace|right-brace">
modules/miscellaneous-symbols.xml:  <template name="right-curly-bracket-strip" match="right-curly-bracket|right-curly-brace|right-brace" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="degree-sign" match="degree-sign|degrees">
modules/miscellaneous-symbols.xml:  <template name="degree-sign-strip" match="degree-sign|degrees" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="section-sign" match="section-sign">
modules/miscellaneous-symbols.xml:  <template name="section-sign-strip" match="section-sign" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="copyright-sign" match="copyright-sign">
modules/miscellaneous-symbols.xml:  <template name="copyright-sign-strip" match="copyright-sign" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="paragraph-sign" match="paragraph-sign|pilcrow|pilcrow-sign">
modules/miscellaneous-symbols.xml:  <template name="paragraph-sign-strip" match="paragraph-sign|pilcrow|pilcrow-sign" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="figure-dash" match="figure-dash|number-dash">   
modules/miscellaneous-symbols.xml:  <template name="figure-dash-strip" match="figure-dash|number-dash" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="endash" match="endash|en-dash|ndash|n-dash">    
modules/miscellaneous-symbols.xml:  <template name="endash-strip" match="endash|en-dash|ndash|n-dash" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="emdash" match="emdash|em-dash|mdash|m-dash">
modules/miscellaneous-symbols.xml:  <template name="emdash-strip" match="emdash|em-dash|mdash|m-dash" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="apostrophe" match="apostrophe|right-single-quotation-mark">
modules/miscellaneous-symbols.xml:  <template name="apostrophe-strip" match="apostrophe|right-single-quotation-mark" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="dagger" match="dagger|dag">
modules/miscellaneous-symbols.xml:  <template name="dagger-strip" match="dagger|dag" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="double-dagger" match="double-dagger|ddagger|ddag">
modules/miscellaneous-symbols.xml:  <template name="double-dagger-strip" match="double-dagger|ddagger|ddag" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="ellipsis-sign" match="ellipsis-sign|etc|ellipsis|dots|horizontal-ellipsis">
modules/miscellaneous-symbols.xml:  <template name="ellipsis-sign-strip" match="ellipsis-sign|etc|ellipsis|dots|horizontal-ellipsis" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="trademark-sign" match="trademark-sign|trademark|tm|trade-mark-sign">
modules/miscellaneous-symbols.xml:  <template name="trademark-sign-strip" match="trademark-sign|trademark|tm|trade-mark-sign" mode="strip">
modules/miscellaneous-symbols.xml:  <template name="LaTeX" match="LaTeX|latex">
modules/miscellaneous-symbols.xml:  <template name="LaTeX-strip" match="LaTeX|latex" mode="strip">
modules/multi-column.xml:   <template name="multi-column" match="multi-column">
modules/multi-column.xml:   <template name="multi-column-column" match="multi-column/column">
modules/native-code.xml:    <template name="raw-latex" match="raw-code[@format = 'latex']|raw-latex">
modules/native-code.xml:    <template name="raw-html" match="raw-code[@format = 'html']|raw-html">
modules/number-formatting.xml:  <template name="number" match="number">
modules/obsolete.xml:   <template name="generate-obsolete-error">
modules/obsolete.xml:   <template name="latex-input" match="latex-input">
modules/obsolete.xml:   <template name="metadata" match="metadata">
modules/obsolete.xml:   <template match="figure/id|table/id|figure/label|table/label">
modules/obsolete.xml:   <template match="image/latex-scaling">
modules/obsolete.xml:   <template match="image/basename|image/format">
modules/otago-specific.xml: <template name="paper" match="paper">
modules/otago-specific.xml: <template name="subject-code" match="paper/subject-code">
modules/otago-specific.xml: <template name="paper-number" match="paper/paper-number">
modules/paper-calendar-dates.xml:   <template name="TeachingPeriodDate" match="TeachingPeriodDate">
modules/paper-calendar-dates.xml:   <template name="TeachingPeriodDateRange" match="TeachingPeriodDateRange">
modules/paper-calendar-dates.xml:   <template name="format-teaching-date">
modules/paper-calendar-dates.xml:   <template name="format-teaching-date-range">
modules/paper-calendar.xml: <template match="calendar">
modules/paper-calendar.xml: <template name="generate-calendar-content">
modules/paper-calendar.xml: <template match="header|footer">
modules/paper-calendar.xml: <template match="heading|footing">
modules/paper-calendar.xml: <template match="note">
modules/paper-calendar.xml: <template match="week">
modules/paper-calendar.xml: <template match="week[@holiday]">
modules/paper-calendar.xml: <template match="lecture[node() and not( @holiday )]">
modules/paper-calendar.xml: <template match="lecture[@holiday]">
modules/paper-calendar.xml: <template match="lecture[not( node() )]">
modules/paper-calendar.xml: <template match="laboratory[node()]">
modules/paper-calendar.xml: <template match="tutorial[node()]">
modules/paper-calendar.xml: <template match="laboratory[not( node() )]|tutorial[not( node() )]">
modules/paper-calendar.xml: <template match="calendar//section[node()]|reading[node()]">
modules/paper-calendar.xml: <template match="assessment[node()]">
modules/paper-calendar.xml: <template match="calendar//section[not( node() )]|reading[not( node() )]|assessment[not( node() )]">
modules/paper-calendar.xml: <template name="generate-number-cell">
modules/paper-calendar.xml: <template name="generate-content-cell">
modules/paper-calendar.xml: <template name="generate-empty-cell">
modules/q-and-a.xml:    <template name="question" match="question">
modules/q-and-a.xml:    <template name="answer" match="answer">
modules/q-and-a.xml:    <template name="hidden-answer" match="answer[@hide='yes']" />
modules/q-and-a.xml:    <template name="exercise" match="exercise">
modules/quotations.xml: <template name="single-quote" match="quote[@single='yes']|q[@single='yes']">
modules/quotations.xml: <template name="double-quote" match="quote|qq">
modules/quotations.xml: <template name="nested-double-quote" match="quote//quote">
modules/quotations.xml: <template name="nested-single-quote" match="quote[@single='yes']//quote" priority="2">
modules/quotations.xml: <template name="quotation" match="quotation">
modules/relational-algebra.xml: <template name="project-operator" match="project|project-operator|relational-project">
modules/relational-algebra.xml: <template name="project-operator-strip" match="project|project-operator|relational-project" mode="strip">
modules/relational-algebra.xml: <template name="extend-operator" match="extend|extend-operator|relational-extend">
modules/relational-algebra.xml: <template name="extend-operator-strip" match="extend|extend-operator|relational-extend" mode="strip">
modules/relational-algebra.xml: <template name="rename-operator" match="rename|rename-operator|relational-rename">
modules/relational-algebra.xml: <template name="rename-operator-strip" match="rename|rename-operator|relational-rename" mode="strip">
modules/relational-algebra.xml: <template name="restrict-operator" match="restrict|restrict-operator|relational-restrict">
modules/relational-algebra.xml: <template name="restrict-operator-strip" match="restrict|restrict-operator|relational-restrict" mode="strip">
modules/relational-algebra.xml: <template name="join-operator" match="join-operator|join|natural-join|inner-join|bowtie|relational-join">
modules/relational-algebra.xml: <template name="join-operator-strip" match="join-operator|join|natural-join|inner-join|bowtie|relational-join" mode="strip">
modules/relational-algebra.xml: <template name="outer-join-operator" match="outer-join-operator|outer-join|relational-outer-join">
modules/relational-algebra.xml: <template name="outer-join-operator-strip" match="outer-join-operator|outer-join|relational-outer-join" mode="strip">
modules/sectioning.xml: <template name="section" match="section">
modules/sectioning.xml: <template name="generate-subs">
modules/sectioning.xml: <template name="section-title" match="section/title">
modules/special-characters.xml: <template name="space" match="space">
modules/special-characters.xml: <template name="space-strip" match="space" mode="strip">
modules/special-characters.xml: <template name="non-breaking-space" match="non-breaking-space|nbsp|no-break-space">
modules/special-characters.xml: <template name="thin-space" match="thin-space|thinspace">
modules/special-characters.xml: <template name="discretionary-hyphen" match="hyphen">
modules/tabular.xml:    <template name="tabular" match="tabular">
modules/tabular.xml:    <template name="aligned-tabular-column" match="tabular-columns/column[@align]">
modules/tabular.xml:    <template name="unaligned-tabular-column" match="tabular-columns/column[not(@align)]">
modules/tabular.xml:    <template name="tabular-header" match="tabular-header">
modules/tabular.xml:    <template name="tabular-footer" match="tabular-footer">
modules/tabular.xml:    <template name="tabular-body" match="tabular-body">
modules/tabular.xml:    <template name="row" match="row">
modules/tabular.xml:    <template name="last-row-body" match="tabular-body/row[( position() = last() ) and not( following-sibling::row-rule ) and not( ancestor::tabular/tabular-footer )]|tabular-footer/row[position() = last() and not( following-sibling::row-rule )]">
modules/tabular.xml:    <template name="row-rule-full" match="row-rule[not(@columns)]">
modules/tabular.xml:    <template name="row-rule-partial" match="row-rule[@columns]">
modules/tabular.xml:    <template name="multirow-cell" match="cell" mode="latex-multi-row">
modules/tabular.xml:    <template name="multicolumn-cell" match="cell" mode="latex-multi-column">
modules/tabular.xml:    <template match="cell">
modules/titling.xml:    <template name="preamble-title" match="document/title" mode="preamble">
modules/titling.xml:    <template name="preamble-subtitle" match="document/subtitle" mode="preamble" />
modules/titling.xml:    <template name="preamble-author" match="document/author" mode="preamble">
modules/titling.xml:    <template name="preamble-date" match="document/date" mode="preamble">
modules/titling.xml:    <template name="preamble-due-date" match="document/due-date" mode="preamble">
modules/titling.xml:    <template name="document-title-title" match="document/title" mode="title">
modules/titling.xml:    <template name="document-subtitle-title" match="document/subtitle" mode="title">
modules/titling.xml:    <template name="document-subtitle-unmoded" match="document/subtitle" />
modules/titling.xml:    <template name="document-author" match="document/author">
modules/titling.xml:    <template name="document-date" match="document/date" />
modules/titling.xml:    <template name="document-due-date-title" match="document/due-date" mode="title">
modules/titling.xml:    <template name="document-due-date-inline" match="document/due-date" mode="inline">
modules/titling.xml:    <template name="document-due-date-unmoded" match="document/due-date" />
modules/titling.xml:    <template name="document-title-unmoded" match="document/title" />
modules/titling.xml:    <template name="chapter-title" match="document/title" mode="chapter">