Compartilhar via


ontransformnode Event (Windows CE 5.0)

Send Feedback

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 — http://www.w3.org/1999/XSL/Transform. It does, however, fire on DOMDocument for stylesheets using the XSL namespace — http://www.w3.org/XSL/Transform/1.0.

[Script]

Script Syntax

boolVal = ontransformnode(nodeCode, nodeData);

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++]

C/C++Syntax

HRESULT ontransformnode(IXMLDOMNode* pCode,IXMLDOMNode* pData,VARIANT vBool);

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

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:

DOMDocument.

See Also

ontransformnode Property

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.