RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.TransformNode Method (IXMLNode, IXMLDocument)

Transforms the subtree rooted at this node, using a specified XSL interface.

Pascal
procedure TransformNode(const stylesheet: IXMLNode; var output: WideString); overload;
procedure TransformNode(const stylesheet: IXMLNode; const output: IXMLDocument); overload;
C++
__fastcall TransformNode(const IXMLNode stylesheet, BSTR output);
__fastcall TransformNode(const IXMLNode stylesheet, const IXMLDocument output);

Use the TXMLNode object's IXMLNode interface to call the protected TransformNode method.  

stylesheet is a node in an XML document that represents an XSL transformation. Typically, it is the document element of that document. 

output represents the result of the transformation. If output is a WideString, TransformNode returns a string of XML. If output is the interface to an XML document, TransformNode replaces the content of that document with the results of the transformation.

Note: TransformNode is only available when the DOMVendor used to parse this node's XML document is MSXML.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!