This function should be used to get the handle of a specific node. It uses XPATH syntax, which resembles a UNIX path.
Ex, node = mxml::GetNode(doc, "/stufflist/stuff_test3/painting/img")
node = mxml::GetNode(<node pointer>,<path-like string>)
*/
besFUNCTION(GetNode)
mxml_node_t *rootNode, *node;
char *pszValue;
char *token, tmpStr[_MAX_PATH];
besARGUMENTS("pz") &rootNode,&pszValue besARGEND node = rootNode;
memset(tmpStr,0,sizeof(tmpStr)); strncpy(tmpStr, pszValue, strlen(pszValue));
token = strtok(tmpStr, "/"); while ( token ) { node = mxmlFindElement(node,node,token,NULL,NULL,MXML_DESCEND); token = strtok( NULL, "/" ); } besRETURN_POINTER(node); besEND
/**