Share via


ontransformnode Property (Compact 2013)

3/26/2014

Specifies the event handler for the ontransformnode Event.

Syntax

oXMLDOMDocument.ontransformnode = funcMyEventHandler;
HRESULT put_ontransformnode(
  VARIANT ontransformnodeSink
);

Parameters

Script

None.

C/C++

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

Return Value

Script

None.

C/C++

  • S_OK
    Value returned if successful.

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

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties
transformNode Method