falcong / pugixml

Automatically exported from code.google.com/p/pugixml
0 stars 0 forks source link

XML from URL #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I enter the URL from the command line, How do I fetch the XML file ?

Original issue reported on code.google.com by madhurah...@gmail.com on 13 Jun 2011 at 2:32

GoogleCodeExporter commented 9 years ago
Do you mean an HTTP URL?

pugixml does not provide HTTP fetching functionality out of the box. You can 
use any library that works with HTTP to get either a string, byte array or a 
C++ IO stream with the URL contents, and then use one of xml_document::load* 
functions to parse the file.

Currently pugixml does not support parsing non-seekable streams, so string/byte 
array option is preferable (since probably no HTTP streams out there support 
seeking).

Original comment by arseny.k...@gmail.com on 13 Jun 2011 at 5:31

GoogleCodeExporter commented 9 years ago
Closing the issue; if there's anything else, feel free to update it and I'll 
reopen it.

Original comment by arseny.k...@gmail.com on 9 Jul 2011 at 1:06