Returns an XHTML anchor if appropriateThis 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().
nodeThe node for which an anchor should be generated. It defaults to
the context item.forceTo 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 appropriateThis template returns an attribute named “class” if the specified
node has an role attribute or if the
force parameter is non-zero.nodeThe node for which an class attribute should be generated. It defaults to
the context item.forceTo 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-roleThe 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 appropriateThis template returns an attribute named “style” if the
global parameter inline.style.attribute is non-zero
and a CSS style is specified.cssThe CSS style to apply.A “style” attribute or nothing.Mode for generating the head elementThis mode is called on an element when it is the root of an
HTML document. It is responsible for generating the HTML head element
and its content.Mode for inserting metadata in the headThis mode is called on an element when it is the root of an
HTML document. It is responsible for generating any necessary
meta elements into the head.
Mode for inserting links in the headThis mode is called on an element when it is the root of an
HTML document. It is responsible for generating any necessary
link elements in the head.
Template for inserting attributes on the HTML bodyT.B.D.Returns a URI for the nodeThis function returns a URI suitable for use in a hypertext link
for the specified node.contextThe context in which the link will be used. (This is necessary
when chunking.)nodeThe node for which a URI will be generated.The hypertext anchor URI for the node.'#foo'Some TitleSome Chapter TitleMy para.'#R.1.2'Returns a URI for the nodeThis 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.
nodeThe node for which a URI will be generated.The hypertext anchor URI for the node.'#foo'Some TitleSome Chapter TitleMy para.'#R.1.2'
Mode for stripping anchors from XHTMLThis 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.Mode for generating keyword metadata in the headThis mode is called on an element when it is the root of an
HTML document. It is responsible for generating the keyword-related
meta elements in the head.