Common Processing Instruction Reference
$Id: pi.xsl 8349 2009-03-17 06:53:03Z bobstayton $
IntroductionThis is generated reference documentation for all
user-specifiable processing instructions (PIs) in the
“common” part of the DocBook XSL stylesheets.
You add these PIs at particular points in a document to
cause specific “exceptions” to formatting/output behavior. To
make global changes in formatting/output behavior across an
entire document, it’s better to do it by setting an
appropriate stylesheet parameter (if there is one).Generates a localized choice separatorUse the dbchoice choice PI to
generate an appropriate localized “choice” separator (for
example, and or or)
before the final item in an inline simplelistThis PI is a less-than-ideal hack; support for it may
disappear in the future (particularly if and when a more
appropriate means for marking up "choice" lists becomes
available in DocBook).dbchoice choice="and"|"or"|string"choice="and"generates a localized and separatorchoice="or"generates a localized or separatorchoice="string"generates a literal string separatorchoiceInserts a date timestampUse the dbtimestamp PI at any point in a
source document to cause a date timestamp (a formatted
string representing the current date and time) to be
inserted in output of the document.dbtimestamp format="formatstring" [padding="0"|"1"]format="formatstring"Specifies format in which the date and time are
outputFor details of the content of the format string,
see Date and time.padding="0"|"1"Specifies padding behavior; if non-zero, padding is is addedformatpadding1
Timestamp processing requires XSLT processor with EXSLT date support.
Generates delimiters around embedded TeX equations
in outputUse the dbtex delims PI as a
child of a textobject containing embedded TeX
markup, to cause that markup to be surrounded by
$ delimiter characters in output.dbtex delims="no"|"yes"dbtex delims="no"|"yes"Specifies whether delimiters are outputtex.math.delimsDBTeXMath00000
Timestamp processing requires an XSLT processor with support
for the EXSLT node-set() function.