Partager via


XSLT Methods

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Extensible Stylesheet Language Transformations (XSLT) uses the methods listed in the following table.

Method Description

absoluteChildNumber Method

Returns the number of the node relative to all siblings.

ancestorChildNumber Method

Returns the number of the nearest ancestor of a node with the requested node name.

appendChild Method

Appends newChild as the last child of this node.

childNumber Method

Returns the number of the node relative to siblings of the same node name.

cloneNode Method

Creates a new node that is an exact clone of this node.

depth Method

Returns the depth within the document tree at which the specified node appears.

formatDate Method

Formats the supplied date using the specified formatting options.

formatIndex Method

Formats the supplied integer using the specified numerical system.

formatNumber Method

Formats the supplied number using the specified format.

formatTime Method

Formats the supplied time using the specified formatting options.

hasChildNodes Method

Returns True if this node has children.

insertBefore Method

Inserts a child node to the left of the specified node or at the end of the list.

removeChild Method

Removes the specified child node from the list of children and returns it.

replaceChild Method

Replaces the specified old child node with the supplied new child node in the set of children of this node, and returns the old child node.

selectNodes Method

Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes.

selectSingleNode Method

Applies the specified pattern-matching operation to this node's context and returns the first matching node.

transformNode Method

Processes this node and its children using the supplied Extensible Stylesheet Language Transformations (XSLT) style sheet and returns the resulting transformation.

transformNodeToObject Method

Processes this node and its children using the supplied XSLT style sheet and returns the resulting transformation in the supplied object.

uniqueID Method

Returns the unique identifier for the supplied node.

* denotes an extension to the W3C DOM.

See Also

Reference

XSLT Reference

Other Resources

XML Stylesheet Language Transformations (XSLT)