[xsd-users] reading directly from memory buffer instead of file or URL

Jason Lee Jason.Lee at syniverse.com
Mon Mar 2 03:51:27 EST 2009


Hi, I am working on the xsd-tree helloworld sample. 

 

auto_ptr<hello_t> h (hello ("c:/hello.xml"));

 

By reading the header file hello.hxx I realise the constructor only
takes in 4 types of input:

1. std::string (a URI or a local file)

2. std::istream

3. xercesc::InputSource

4. xercesc::DOMDocument

 

Is it possible to read and parse a xml source directly from a memory
buffer instead of from a local file or a URL?

 

Thanks and regards,

Jason

 

 




More information about the xsd-users mailing list