RE: [xml] xmlDocDumpFormatMemory problem?
- From: Gang Wang <WangGang computermotion com>
- To: Gang Wang <WangGang computermotion com>, "'xml gnome org'" <xml gnome org>
- Subject: RE: [xml] xmlDocDumpFormatMemory problem?
- Date: Mon, 24 Jun 2002 08:46:47 -0700
Can any one help?
-----Original Message-----
From: Gang Wang
Sent: Friday, June 21, 2002 3:24 PM
To: 'xml gnome org'
Cc: 'igor stud fh-frankfurt de'
Subject: [xml] xmlDocDumpFormatMemory problem?
Hello,
I am having trouble with the function of
xmlDocDumpFormatMemory(). It seems
that it does not do the formating and outputs the same result as
xmlDocDumpMemory(). In fact, as I never see any difference
while testing
these two functions, I don't even know what exactly the Format one is
supposed to do. Yes, I called xmlKeepBlanksDefault(0) as
instructed by the
document.
xmlKeepBlanksDefault(0);
xmlDocDumpFormatMemory(xmlDoc, &buf, &size, 1);
The data both of them send out looks as following:
<?xml version="1.0"?>
<test><a>data</a>hello world</test>
I have tested version 2.4.21 on RedHat linux and also the
windows versions
2.4.21 and 2.4.22 posted by Igor Zlatkovic on his web site.
They behaved the
same.
Thanks for any input.
Gang Wang
----------------------------------
0x2B | ~0x2B (Hamlet, Shakespeare)
_______________________________________________
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]