virtual P6R::P6ERR P6R::p6IDOMNodeset::position ( P6UINT32 *  pNumber  )  [pure virtual]

Starting at index 1 this method returns the index into the sequence of nodes that the enumerator is set at.

So if the enumerator has returned 2 out of 5 nodes from the node set then position() would return 3. This method implements the XPath position() function.

Parameters:
pNumber [OUT] Provides the index of the next node to be returned by next().
Returns:
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.