W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2003

Redirect stream to read from local buffer

From: Sinha, Raj (Raj) <rajsinha@avaya.com>
Date: Thu, 2 Oct 2003 09:33:53 -0400
Message-ID: <8CA1128D59AD27429985B397118CEDDF019E3164@nj7460avexu1.global.avaya.com>
To: <www-lib@w3.org>

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



Raj Sinha
Received on Thursday, 2 October 2003 09:34:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC