Xml.XMLDoc.TXMLNode.TransformNode
Delphi
procedure TransformNode(const stylesheet: IXMLNode; var output: XmlDomString); overload;
procedure TransformNode(const stylesheet: IXMLNode; const output: IXMLDocument); overload;
C++
void __fastcall TransformNode(const Xml::Xmlintf::_di_IXMLNode stylesheet, System::WideString &output)/* overload */;
void __fastcall TransformNode(const Xml::Xmlintf::_di_IXMLNode stylesheet, const Xml::Xmlintf::_di_IXMLDocument output)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNode |
Description
Transforms the subtree rooted at this node, using a specified XSL interface.
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.