OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Genx

[ Lists Home | Date Index | Thread Index ]

On Tue, Jan 20, 2004 at 06:45:09PM +0400, David Tolpin wrote:
> > void genxStartDocument(genxWriter w, FILE * file);
> While FILE * is 'standard', it is often incovenient to use it; I would prefer
> to have
> void genxStartDocument(genxWriter w, char *buf, int size, void (*bytesReady)(int n,void *userData))
> size is the size of the buffer, bytesReady is passed actual number of bytes available.
> Much more freedom to use.

I think there are two important use cases here: writing output to a
stream, and buffering output to a string (UTF8 or wchar_t).  The
difference can be abstracted away within the guts of the genxWriter



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS