[xml] Reading a file over network
- From: "Giorgio Calderone <gcalderone neomedia it>" <gcalderone neomedia it>
- To: xml gnome org
- Subject: [xml] Reading a file over network
- Date: Mon, 30 Oct 2006 01:30:22 +0100 (CET)
Hello,
I'm trying to write an XML parser using the SAX interface with the push method.
My code looks like this:
f = fopen(filename, "r");
ctxt = xmlCreatePushParserCtxt(mySAXHandler, ...);
while (fread(...))
xmlParseChunk(...);
And it work with local files, but how can I read a file over the network ?
Maybe I should use xmlParserInputBuffer or something else ?
Thanks in advance,
Giorgio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]