Re: [xml] Avoiding document declaration on xmlDocDumpMemory?
- From: dodji seketeli org
- To: Jose Commins <axora myrealbox com>
- Cc: xml gnome org
- Subject: Re: [xml] Avoiding document declaration on xmlDocDumpMemory?
- Date: Fri, 21 May 2004 11:22:54 +0200
Hi,
I think you can try to get the document root element using
http://xmlsoft.org/html/libxml-tree.html#xmlDocGetRootElement and dump it
into a buffer using http://xmlsoft.org/html/libxml-tree.html#xmlElemDump .
Regards,
Dodji.
Selon Jose Commins <axora myrealbox com>:
(libxml2, 2.6.10)
Is there a simple way to avoid the document declaration from being
output when using xmlDocDumpMemory / xmlDocDumpFormatMemory?
I am concatenating several XML files and I am trying to avoid this:
<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>
From being output at the start of the libxml2's XML memory dump.
Regards,
Jose.
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]