[xml] libXML2 question
- From: "Shi, Charles" <ccshi qualcomm com>
- To: "Peter Jacobi" <pj walter-graphtek com>, "Holger Rauch" <holger rauch heitec de>, <xml gnome org>
- Subject: [xml] libXML2 question
- Date: Sun, 6 Jul 2003 10:35:23 -0700
Hi,
I upgraded libXML to libXML2 and find out one difference:
On libXML, when I call
xmlDocSetRootElement(m_doc, m_node);
xmlDocDumpMemory(m_doc, &mem, size);
fprintf(stderr, "%s\n", mem);
It prints out XML with carriage return on each ending tag.
So it has very nice readable format.
But on libXML2, it just prints out a long string continuously.
Are there any ways that I can still print it like before?
Thank you very much for your help.
Regards,
Charles Shi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]