This method allows array style access to the attributes of the current node.
attributeAt( 3, &pAttrib ) is similar to the syntax of: pAttrib = attributeAt[3]. Note the index starts at zero (not one).
- Parameters
-
index | [ in ] Array index to the node's attributes, {0 .. n-1} |
pAttrib | [ out ] Returns a pointer to an attribute node |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eEndOfRecord | No attributes at index specified. |