|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Genx
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 structure. Z. |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








