We have a pipe implemention here:

http://lxr.mozilla.org/seamonkey/source/xpcom/io/nsIPipe.idl

Let me know if that works for you.


[EMAIL PROTECTED] wrote:

> Hi all,
> 
> In my XUL based application (installed in chrome) I use xml-datasource. 
> What I need is to get either a string or dom representation of the rdf.
> 
> nsIRDFXMLSource has the Serialize member, which takes the 
> nsIOutputStream as a parameter.
> 
> nsIDOMParser (form xmletras) can read nsIInputStream.
> 
> What I'm really missing is something like a 'pipe'.
> 
> Is there some way, hw to redirect i/o? Do I really have to use the 
> temporary file?
> 
> Other solution would be serializing to 'string' stream. Is there 
> something like this?
> 
> I searched deja, lxr and several project pages, found no solution.
> 
> Thank you in advance
> 
> Pavel
> 
> P.S.: direct rdf manipulation is not what I need. I need really the XML 
> representation.
> 


Reply via email to