Share via


ontransformnode Event (Windows Embedded CE 6.0)

1/6/2010

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 Syntax

            boolVal = ontransformnode(nodeCode, nodeData);

Remarks

Ee503394.collapse(en-US,WinEmbedded.60).gifScript Parameters

  • nodeCode
    Indicates the current node in the style sheet.
  • nodeData
    Indicates the current node in the XML source data.

Ee503394.collapse(en-US,WinEmbedded.60).gifScript Return Value

Boolean. Returns True to indicate that transformation processing is to continue; returns False to indicate that transformation processing should stop.

Ee503394.collapse(en-US,WinEmbedded.60).gifC/C++Syntax

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

Remarks

Ee503394.collapse(en-US,WinEmbedded.60).gifC/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.

Ee503394.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

S_OK is the value returned if the event is successful.

Ee503394.collapse(en-US,WinEmbedded.60).gifRequirements

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

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

Reference

XML DOM Events

Other Resources