Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Specifies the event handler for the ontransformnodeevent.

Script Syntax

Copy Code
oXMLDOMDocument.ontransformnode = 
funcMyEventHandler;

Remarks

Script Parameters

None.

Script Return Value

None.

C/C++ Syntax

Copy Code
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 Eventfires before each node in the style sheet is applied to each node in the XML source.

The ontransformnodeproperty 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