<template name = non empty token location = anyURI />
Add document template named name
, contained in file location
, to the dialog box displayed by → .
Specifying a template
element without a location may be used to remove template
element with the same name from the configuration.
Example:
<template name="Div (part of a master document)" location="template/div.html" />
Composite document templates, that is, modular document templates and/or document templates referencing graphics files, must be packaged in a .zip
archive. Example: modular_book.zip
:
$ unzip -v modular_book.zip modular_book.xml chapter1.xml chapter2.xml chapter3.xml appendix.xml images/ images/xmlmind.gif
The master document, modular_book.xml
in the above example:
Must be directly contained in the archive (that is, not in a subdirectory like images/
),
Must have the same basename, extension not included, as the archive. The basename, less the extension, is "modular_book
" in the above example.