[xml] Need help in xmlParseMemory & xmlParseDoc



Hi all,

           I am using libxml2.7.5. I am passing a string variable
containing  XML content  to a parsing function. This parsing function
uses either xmlParseMemory or xmlParseDoc (both of which return
xmlDocPtr)  to build the xml tree structure initially before actual
parsing.

          The problem is both of them are returning xmlDocptr as NULL
due to which parsing doesnot proceed. Could any one give some
suggestions regarding its cause and how to correct it. If code is
needed, please tell me so that I can make it available.

Is there any other function to build xml tree from a C string variable
containing xml contents.
Thanks and Regards
Janardan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]