Re: [xml] Streaming API for xml writing?



On Fri, Oct 06, 2006 at 11:58:09AM -0700, Yong Chen (yongche) wrote:
Hi,

I know there's a streaming API for reading xml doc (xmlTextReader). I
wonder if there's a streaming API for writing?

Basically what I want to do is to write out xml doc when it's still
being built. This is to handle the situation that the final xml doc may
be too big to fit in memory (before it's written out).

Is xmlTextWriter the API for it?

 yes, see also the discussion last week about this,
 
Is there any example/tutorial for it?

 http://xmlsoft.org/examples/index.html#xmlWriter

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]