Wednesday, November 27, 2013

Node Set Functions

XSLT Node Set Functions 


current() 
Returns a node-set that has the current node as its only member.
Usage: current()
This function takes 0 parameter(s).  

It returns all the values from the source .




lang function : Returns the local part of the name of a node.

Usage: local-name([inputNodeSet as node-set])
This function takes a minimum of 0 and a maximum of 1 parameters.

Example



namespace-uri

Returns the URI namespace of a node.
Usage: namespace-uri([inputNodeSet as node])
This function takes a minimum of 0 and a maximum of 1 parameters.     


Example




Position() function

Returns the context position.
Usage: position()
This function takes 0 parameter(s)