Share via


absoluteChildNumber Method (Compact 2013)

3/26/2014

Returns the number of the node that is relative to all siblings.

Syntax

lValue = oXTLRuntime.absoluteChildNumber(pNode);
HRESULT absoluteChildNumber(
  IXMLDOMNode* pNode, 
  long* pNumber
);

Parameters

Script

  • pNode
    Object. Node to which the child number is to be returned.

C/C++

  • pNode
    [in] Node for which the child number is to be returned.
  • pNumber
    [out, retval] Index for the node in its parent's list of all child nodes. The first entry in the list is assigned the value 1.

Remarks

This method applies to the following interface:

IXTLRuntime.

Return Value

Script

Long integer. Returns the index for the node in its parent's list of all child nodes. The first entry in the list is assigned the value 1.

C/C++

Returns S_OK if successful, or an error code otherwise.

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XSLT Methods