There there a child of this XML node with the name of the value in the pName parameter.
If the child is found return a pointer to it in pExist. Since an XML node can have children with the same name the 'instance' parameter is provided. The instance parameter allows the caller to specify which child to look for.
- Parameters
-
pName | [ in ] Looking for a child node with this name |
nameLength | [ in ] Number of characters in pName |
instance | [ in ] An index from {1 to N}, allows the caller to search for the nth child with the same name. |
pExist | [ out ] Pointer to child node if found |
pResult | [ out ] P6TRUE if child found, P6FALSE otherwise |
- 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. |