Re: [xml] Omitting <?xml version="1.0"?>



On Tue, Jun 11, 2002 at 04:57:50PM +0200, Jens Askengren wrote:
Can I make libxml omit the <?xml version="1.0"?> when
saving a document?

  Document saving routine do that systematically. If you want
to bypass this simply serialize independantly all the children
of the doc node. See tree.h for the APIs.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]