Syntax
XML_Node *XML_NextNode(
XML_Node *node,
const char *name,
int *ErrCode
);
Parameters
- node
- [in] A pointer to the XML_Node structure of the node.
- name
- [in] A pointer to a string of the name for the node. Set to NULL if you do not specify a name.
- ErrCode
- [out] A pointer to a variable that returns an error code. Specify NULL when no error code is required.
Return value
Returns a pointer to the XML_Node structure if the function succeeds, otherwise NULL.Remarks
Returns the next node (sibling node) of the specified node.
If you specify name, the node with the specified name is searched from the node next to the specified node. If there is a node with a matching name, returns a pointer to the XML_Node structure of that node, otherwise returns NULL.
If NULL is specified for name, a pointer to the XML_Node structure of the node next to the specified node is returned if it exists, otherwise NULL is returned.
If the function fails, it returns NULL and ErrCode returns the following error code:
Error code | Description |
---|---|
XML_INVALID_PARAMETER_ERROR | Parameter error |
XML_INVALID_NODE_OBJECT_ERROR | Invalid node is specified. |
XML_NOT_FOUND | There was no next node. |
Requirements
Header file:
XML.hLibrary file:
CodeConversion.h : ver. 1.1.1 or later.
libXML.a
libCodeConversion.a : ver.1.1.1 or later
libSTARTUPOPH5000.a
See also
Last updated: 2021/10/21