xslt.base.common.gentext.xsl Maven / Gradle / Ivy
Mode for locating the title markup template for an element
This mode is used to locate the title markup template. Any
element processed in this mode should return the generated text template
that should be used to generate its title.
Mode for locating the subtitle markup template for an element
This mode is used to locate the subtitle markup template. Any
element processed in this mode should return the generated text template
that should be used to generate its subtitle.
Mode for locating the cross-reference (xref )
markup template for an element
This mode is used to locate the xref markup template. Any
element processed in this mode should return the generated text template
that should be used to generate a cross-reference to it.
Mode for determining if an element should be numbered
This mode is used to determine if an element should be numbered.
Any element processed in this mode should return “1” if it should be numbered,
“0” otherwise.
0
1
0
1
0
Mode for formatting object titles
This mode is used to format object titles.
Any element processed in this mode should return its formatted title.
Mode for formatting the abbreviated title of an element
This mode is used to format abbreviated titles.
Any element processed in this mode should return a formatted
rendition of its abbreviated title.
Mode for formatting the subtitle of an element
This mode is used to format subtitles.
Any element processed in this mode should return a formatted
rendition of its subtitle.
Mode for formatting cross-references to an element
This mode is used to format cross-references.
Any element processed in this mode should return a formatted
rendition of a cross-reference to itself.
object-xref-markup: empty xref template
for linkend="
" and @xrefstyle="
"
Xref is only supported to listitems in an
orderedlist:
???
%n
Expands %d, %n, %o, %p, %s, and %t in generated text
templates
This template expands percent-encoded variables in a generated
text template. The content of the template is passed through unchanged,
except that:
%d
is replaced by the direction (above or below) that a referent is
from the current context node.
%n
is replaced by the number (label) of the context node.
%o
is replaced by the olink document title.
%p
is replaced by the page number of the referent.
%s
is replaced by the subtitle of the context node.
%t
is replaced by the title of the context node.
Note that several of these only make sense in the context of
a cross-reference.
template
The template to expand.
allow-anchors
Non-zero if anchors are allowed (I think this is deprecated).
title
The title of the context node.
subtitle
The subtitle of the context node.
docname
???
label
The label of the context node.
pagenumber
The page number of the context node.
purpose
T.B.D.
xrefstyle
T.B.D.
referrer
T.B.D.
verbose
T.B.D.
The expanded template.
1
Attempt to use %d in gentext with no referrer!
%
%
???
What does this do?
target.elem
The name of the target element,
defaults to the name of the context-node.
lang
The language to use,
defaults to the language of the context node.
purpose
T.B.D.
xrefstyle
T.B.D.
referrer
T.B.D.
The template?
labelnumber
labelname
label
quotedtitle
title
nopage
pagenumber
pageabbrev
Page
page
nodocname
docnamelong
docname
%n
%t
%t
%p