Redirect stream to read from local buffer

"Sinha, Raj (Raj)" <[email protected]> Thu, 2 Oct 2003 09:33:53 -0400
Newsgroups gmane.comp.lib.libwww
Message-ID <8CA1128D59AD27429985B397118CEDDF019E3164@nj7460avexu1.global.avaya.com>
Hi All

I cant figure out how to achieve this.

I have a client(Skinny Browser) code running using Libwww. Now there is
a requirement that I need to parse a XML file (Exists at this point as a
memory buffer). How can I instruct the Libwww XML stream to parse this
memory location. I am not sure how to plug this into the stream pipe.
Right now my code makes a HTTP request for a xml file sitting on a web
server and the Libwww handles the XML beautifully. But if I already have
this XML in the device as a memory buf how do I handle it.

Hopefully I was clear in describing what I was trying to achieve.... 


Second part .. Does anyone have sample code to handle multipart XML
files...

Thanks

raj




Raj Sinha