[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [xml] How to parse xml with out



Am Montag, 27. Januar 2003 15:50 schrieben Sie:
> On Mon, Jan 27, 2003 at 03:33:50PM +0100, Matthias Pieroth wrote:
> > But I produce the xml by applaing an xsl stylesheet:
> >
> > // transformation
> > res = xsltApplyStylesheet(cur, doc, NULL);
> >
> > So my result lies in res. How can I stream this just like with
> > xmlNewTextReader?
>
>   res is a full document tree.
>   Well the goal of the streamer interface was precisely to not
> need to build the full tree. So there is no way currently to
> build an xmlNewTextReader from an existing tree. That's doable,
> and would be relatively easy, but not available ATM.

Okay. What can you suggest what I should do. I have an xml-tree in memory. I 
need to apply a stylesheet on it to produce another xml-ouput. this new 
output I have to loop through and read out all values and attributes to 
display it with ncurses.

But I dont't want to produce a file.

Thanx a lot for your answer in advance

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]