
cloud.war.dist.xslt.base.html.html.xsl Maven / Gradle / Ivy
Returns an XHTML anchor if appropriate
This template returns an XHTML anchor
(a ) if the specified
node has an id
(or xml:id ) attribute or if the
force parameter is non-zero.
If an anchor is generated, it's id
value is f:node-id() .
node
The node for which an anchor should be generated. It defaults to
the context item.
force
To force an anchor to be generated, even if the node does
not have an ID, make this parameter non-zero. It defaults to 0.
An XHTML anchor or nothing.
Returns an “class” attribute if appropriate
This template returns an attribute named “class” if the specified
node has an role attribute or if the
force parameter is non-zero.
node
The node for which an class attribute should be generated. It defaults to
the context item.
force
To force a “class” attribute to be generated, even if the node does
not have a role ,
make this parameter non-zero. It defaults to 0.
default-role
The default role that will be used if the attribute is forced
and the node has no role .
An “class” attribute or nothing.
Returns a “style” attribute if appropriate
This template returns an attribute named “style” if the
global parameter inline.style.attribute is non-zero
and a CSS style is specified.
css
The CSS style to apply.
A “style” attribute or nothing.
Template for inserting JavaScript
T.B.D.
Template for inserting CSS
T.B.D.
Template for generating the head element
This template is called to generate the HTML head for the
primary result document.
Template for inserting metadata in the head
This template is called in the HTML head to insert
HTML meta elements.
Template for inserting links in the head
This template is called in the HTML head to insert
HTML link elements.
Template for inserting attributes on the HTML body
T.B.D.
Returns a URI for the node
This function returns a URI suitable for use in a hypertext link
for the specified node.
context
The context in which the link will be used. (This is necessary
when chunking.)
node
The node for which a URI will be generated.
The hypertext anchor URI for the node.
'#foo'
Some Title
Some Chapter Title
My para.
'#R.1.2'
Returns a URI for the node
This function returns a URI suitable for use in a hypertext link
for the specified node.
The difference between href-target-uri and
href is only apparent when chunking is used.
node
The node for which a URI will be generated.
The hypertext anchor URI for the node.
'#foo'
Some Title
Some Chapter Title
My para.
'#R.1.2'
Mode for stripping anchors from XHTML
This mode performs an identity transform except that all XHTML
anchors (a ) elements are removed. The content of each anchor
is preserved, only the wrapping a is stripped away.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy