Skip to content

Transform

Performs an XSLT transformation on the current node and returns the result as a string.

1
myXml.Transform(xslt: string, parameters: object):string

Parameters

string xslt
    XSLT content to use for the transformation.

object parameters
    Optional parameters to pass as custom variables to the transformation.

Returns

The result of the XSLT transformation.

Remarks

Due to browser limitations, the transformation is performed on the current node's data. Accessing ancestor nodes via XPath is not possible.

See Also