Microsoft XML 2.5 SDK


 

IXMLDOMDocument::ontransformnode Event

[This is preliminary documentation and subject to change.]

Fires before each node in the style sheet is applied to each node in the XML source.

Syntax

HRESULT ontransformnode(

    IXMLDOMNode *pCode,

    IXMLDOMNode *pData,

    VARIANT vBool);

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]
Boolean return value. Returns TRUE if transformation processing is to continue; returns FALSE to stop transformation processing.

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The event handler can be set by explicitly setting the ontransformnode property.

This member is an extension of the W3C DOM.