Partager via


ontransformnode Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Specifies the event handler for the ontransformnode event.

Script Syntax

oXMLDOMDocument.ontransformnode = funcMyEventHandler;

Remarks

Script Parameters

None.

Script Return Value

None.

C/C++ Syntax

HRESULT put_ontransformnode(
  VARIANT ontransformnodeSink
);

Remarks

C/C++ Parameters

  • ontransformnodeSink
    [in] Name of the function that should be called when a transformation is about to be performed.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

A transformation involves two trees: the XML source and the style sheet that is applied to it. The ontransformnode Event fires before each node in the style sheet is applied to each node in the XML source.

The ontransformnode property provides a way for developers to specify an event handler to override the default handler.

This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

This property is write-only, and applies to the following interface:

DOMDocument

See Also

Concepts

transformNode Method

Other Resources