[xml] Reading a file over network

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(...))

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,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]