Allows the caller to set the type of all nodes contained in the node set (e.g., P6XPATH_TYPE_STR, each node represents a string).
A value of 'P6XPATH_TYPE_NULL' indicates that the set can be composed of several different types of XML nodes. Setting this value can result in type conversions of the nodes stored in the set.
- Parameters:
-
| type | [IN] Set the type of the node set. |
- Returns:
Success | P6R::eOk | |
Failure | P6R::eTypeError | Conversion to the given type has failed. |