Hi I am new to libxml. Trying to parse following char* data
using libxml. I want to extract following pairs of data MORE_FLAG=1, MESS_LENG=0, so on <TestMessage><Message
name="UI"><Field name="MORE_FLAG">1</Field><Field
name="MESS_LENG">0</Field<Field
name="RESP_LENG">0</Field></Message></TestMessage> I did following,
how to proceed: xmlDocPtr doc; xmlNode *root_element = NULL; doc = xmlReadMemory(responseString, len, "noname.xml",
NULL, 0); /*Get the root element node */ root_element = xmlDocGetRootElement(doc); Thanks, Devang |