ontransformnode Event
A version of this page is also available for
4/8/2010
This event fires before the style sheet is applied to a node.
Note
The ontransformnode event does not fire on DOMDocument for stylesheets using the XLST namespace — https://www.w3.org/1999/XSL/Transform. It does, however, fire on DOMDocument for stylesheets using the XSL namespace — https://www.w3.org/XSL/Transform/1.0.
Script Syntax
boolVal = ontransformnode(nodeCode, nodeData);
Remarks
Script Parameters
- nodeCode
Indicates the current node in the style sheet.
- nodeData
Indicates the current node in the XML source data.
Script Return Value
Boolean. Returns True to indicate that transformation processing is to continue; returns False to indicate that transformation processing should stop.
C/C++Syntax
HRESULT ontransformnode(
IXMLDOMNode* pCode,
IXMLDOMNode* pData,
VARIANT vBool
);
Remarks
C/C++ Parameters
- pCode
[in] Address of the current node in the XSL style sheet.
- pData
[in] Address of the current node in the XML source data.
- vBool
[out, retval] Boolean return value. Returns True if transformation processing is to continue; returns False to stop transformation processing.
C/C++ Return Values
S_OK is the value returned if the event is successful.
Requirements
Header | msxml2.h, msxml2.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General Remarks
The event handler for this event can be explicitly set using the ontransformnode Property.
This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).
This event applies to the following interface: