Re: [xml] Need mechanism to turn on 'format' field
- From: Daniel Veillard <veillard redhat com>
- To: Phil Shafer <phil juniper net>
- Cc: xml gnome org
- Subject: Re: [xml] Need mechanism to turn on 'format' field
- Date: Tue, 30 Nov 2004 09:26:30 -0500
On Mon, Nov 29, 2004 at 05:58:58PM -0500, Phil Shafer wrote:
Hi,
I'm calling xmlSaveToFd() and didn't see a way to turn on the
'format' field of the xmlSaveContext. So I added an enum to
right,
xmlParserOption. This patch allows me to turn on the flag when I
create the context:
well it should be a new enum type xmlSaveOption instead,
handle = xmlSaveToFd(fd, NULL, XML_SAVE_FORMAT);
In my local tree, I've isolated these under a NO_LOCAL_MODS ifdef,
which you won't need.
Please let me know if I missed something in libxml2 that already
does this.
Though the new xmlSave... API, no, but older APIs could have done
this I think.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]