JavaScript Editor Free JavaScript Editor     JavaScript Debugger 




Main Page

Previous Page
Next Page

10.4. XSLT Functions

Unlike XPath, which has a plethora of functions, the number of XSL functions is significantly lower. Mostly, the reason for this is that the XPath functions are fully available to supplement the few functions shown in Table 10-3.

Table 10-3. XSL Functions

Function

Description

Current()

Returns only the current node in a node set

document()

Used to access an XML document other than the source document

element-available()

Returns a TRue condition if the passed string is a supported XSL element

Format-number()

Returns a formatted numeric string using a number and a pattern as input

function-available()

Returns a true condition if the passed string is a supported XSL or XPath function

generate-id(node)

Returns an ID that is unique to the node passed, regardless of how the node was obtained

key()

Returns a node set that was previously indexed using the key element

System-property()

Returns a value for a specific system property

unparsed-entity-uri()

Returns the URI of an unparsed entity



Previous Page
Next Page




JavaScript Editor Free JavaScript Editor     JavaScript Debugger


©