Re: [xml] xmlSaveToFd problem
- From: Daniel Veillard <veillard redhat com>
- To: "Torbert, Barton" <Bart Torbert ihsenergy com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlSaveToFd problem
- Date: Fri, 8 Dec 2006 12:28:56 -0500
On Fri, Dec 08, 2006 at 10:01:34AM -0700, Torbert, Barton wrote:
Hello,
First of all I don't see how to use the xmlSave.h file within my code.
there is no xmlSave.h, but xmlsave.h
When I include it I get a compiler error that the structure _xmlSaveCtxt
is not defined.
Either your compiler is buggy or you tried to dereference a pointer to the
structure. You can't.
I find the definition of this in the xmlSave.c file.
This file includes the xmlSave.h file, but before the declaration of
_xmlSaveCtxt. So how does anything compile.
Any normal C compiler can use pointer to undefined structs
Also I don't understand the workflow here, assuming I can get the
ctxt = xmlSaveToFd(...)
xmlSaveDoc(ctxt, doc);
xmlSaveClose(ctxt);
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]