DocBook 5.1: The Definitive Guide (Version 1.5.3 for DocBook 5.1)
V5.1 Assemblytransform
transform — Identifies a transform for converting from a non-DocBook schema.
Synopsis
transform ::=
- empty
Attributes
Additional attributes:
- Exactly one of:
- grammar
- name (NMTOKEN)
- href (anyURI)
Required attributes are shown in bold.
Description
A transform
specifies a mechanism for converting one format into
another during the assembly process. For example, if a module
identifies
a resource in a foreign grammar, then a transform
can be used to identify
the transformation that will convert the foreign grammar into DocBook.
Processing expectations
Never rendered.
Attributes
- grammar
Identifies the markup grammar of a resource
- href
Indentifies the location of the data by URI
- name
Identifies the location of the data by reference
Parents
These elements contain transform
: transforms
.
Examples
<transforms xmlns="http://docbook.org/ns/docbook" version="5.1">
<transform grammar="dita" fileref="dita2docbook.xsl"/>
<transform name="tutorial" fileref="docbook2tutorial.xsl"/>
</transforms>