openstack-doc-tools/os_doc_tools/scripts/pandoc-template.docbook
dcramer 8e8c9108cc Use pandoc templates to set root element, xml:id, and default title
Change-Id: I9d4217bb977401a2abd678835f4fbbd842a05a8c
2014-02-21 20:40:00 +01:00

22 lines
377 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<chapter id="$xmlid$">
<chapterinfo>
<title>$if(title)$ $title$ $else$NO TITLE$endif$</title>
$for(author)$
<author>
$author$
</author>
$endfor$
$if(date)$
<date>$date$</date>
$endif$
</chapterinfo>
$for(include-before)$
$include-before$
$endfor$
$body$
$for(include-after)$
$include-after$
$endfor$
</chapter>