[gdome] Creating a Document in Fragments
- From: "John J. Boyer" <director chpi org>
- To: gdome gnome org
- Subject: [gdome] Creating a Document in Fragments
- Date: Fri, 4 Jun 2004 17:28:38 -0500 (CDT)
Hello, I've just started using GDOME2, so here's a newbie question. My
application receives a file on stdin. If it is a valid xml document I want
to process it using GDOME2. If it is not a valid xml document, I want to
fall back on processing it as plain text. From my reading of the source
code for GDOME2, it looks like that if I want to use
CreateDocumentFromMemory I will have to read in the entire document. Is
this the case, or is it possible to read in a large document in chunks of
say 8192 bytes?
Thanks,
--
John J. Boyer; Executive Director, Chief Software Developer
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]