~~Title: XMLEnumChildNodes~~
XMLEnumChildNodes && HANDLE && Returns a handle to the next child node with the specified name, or **NULL** if no more child nodes with that name are found. &&
hNodeHandle && HANDLE && [in] The handle to the parent node. &&
pszName && LPTSTR && [in] The name of the nodes to enumerate. &&
hPrev && HANDLE && [in] Previous node returned by this function, or **NULL** on first call.
The **XMLEnumChildNodes** function is used to enumerate all child nodes with a specific name.
Example code showing how to enumerate all child nodes named "instruction":
HANDLE hParentNode;
HANDLE hChild;
hChild = NULL;
while (( hChild = XMLEnumChildNodes( hParentNode, "instruction", hChild)) != NULL )
{
.. // process child node
};
Note that the name match is not case sensitive.