2. string format-number(number, string, string?) § 12.3
<!-- Content: (xsl:import*, top-level-elements) -->
</xsl:transform>
The format-number function converts its first argument to a string using the
TEMPLATE RULE ELEMENTS format pattern string specified by the second argument and the decimal-
format named by the third argument, or the default decimal-format, if there
xsl:apply-imports § 5.6 is no third argument. The format pattern string is in the syntax specified by
the JDK 1.1 DecimalFormat class.
<xsl:apply-imports />
xsl:apply-templates § 5.4 boolean function-available(string) § 15
<xsl:apply-templates The function-available function returns true if and only if the expanded-
Quick Reference
select = node-set-expression name is the name of a function in the function library.
mode = qname>
string generate-id(node-set?) § 12.4
<!-- Content: (xsl:sort | xsl:with-param)* -->
</xsl:apply-templates>
The generate-id function returns a string that uniquely identifies the node in
xsl:template § 5.3 the argument node-set that is first in document order.
XSL Transformations
node-set key(string, object) § 12.2
<xsl:template
match = pattern
The key function does for keys what the id function does for IDs.
name = qname
(XSLT)
priority = number object system-property(string) § 12.4
mode = qname>
The system-property function returns an object representing the value of the Version 1.0
<!-- Content: (xsl:param*, template) -->
</xsl:template> system property identified by the name. If there is no such system property,
the empty string should be returned.
VARIABLE/PARAMETER ELEMENTS
string unparsed-entity-uri(string) § 12.4
W3C Recommendation
xsl:copy-of § 11.3
The unparsed-entity-uri returns the URI of the unparsed entity with the 16 November 1999
<xsl:copy-of specified name in the same document as the context node.
select = expression />
NOTATION
xsl:param § 11
http://www.w3.org/TR/xslt/
| separator for alternative values
<xsl:param
, separator for consecutive values
name = qname
select = expression> ? zero-or-more repetitions
<!-- Content: template --> * zero-or-more repetitions
Table of Contents:
</xsl:param> + one-or-more repetitions
xsl:variable § 11 #PCDATA
Elements
parsable character data
boolean-expression expression returning a Boolean · Additional Function Elements
<xsl:variable
char represents a single character · Conditional Processing Elements
name = qname
expression XPath production expression
select = expression>
· Creating Result-Tree Elements
<!-- Content: template --> id XML name used as unique identifier within
· Data Model Elements
</xsl:variable> the document, special attribute type
· Fallback Element
xsl:with-param § 11.6 ncname non-colon-name - XML Name without
· Message Element
colon (see also qname)
<xsl:with-param
· Named Template Element
nmtoken name token – mixture of XML name
name = qname
· Output Element
characters
select = expression>
· Repetition Element
<!-- Content: template --> node-set-expression expression returning a node-set
· Sorting Element
</xsl:with-param> number represents a number
· Stylesheet Structure Elements
number-expression expression retuning a number
FUNCTIONS
· Template Rule Elements
pattern XPath pattern
· Variable/Parameter Elements
node-set current() § 12.4 prefix XML namespace prefix
qname qualified name – XML name with local part
The current function returns a node-set that has the current node as its only
Functions
and optional XML namespace prefix,
member.
separated by a colon
note-set document(object, node-set?) § 12.1 string represents a string
string-expression expression returning a string
The document function allows access to XML documents other than the
token attribute type
main source document.
uri-reference Universal Resource Identifier reference
deepX Ltd.
boolean element-available(string) § 15 XML name XML name is a string beginning with a
The element-available function returns true if and only if the expanded-name letter or one of a few punctuation characters,
Dublin, Ireland
is the name of an instruction. If the expanded-name has a namespace URI and continuing with letters, digits, hyphens,
equal to the XSLT namespace URI, then it refers to an element defined by underscores, colons, or full stops, together
info@deepX.com
XSLT. known as name characters.
http://www.deepX.com/