FW: get it while it's hot - raw XML

John Punin had a much better way to get raw XML from libwww. Thanks for
the help John!

-- Josh

-----Original Message-----
From: John Punin [mailto:puninj@cs.rpi.edu]
Sent: Tuesday, July 17, 2001 8:29 PM
To: Josh Watts
Cc: John Punin
Subject: RE: get it while it's hot - raw XML



Yes, the put_block function is fine to use.
John

On Tue, 17 Jul 2001, Josh Watts wrote:

> That's fine with me. Actually, I have another question for you. If all
> you want is raw XML, the converter (My_HTXML_new) would simply use the
> output stream's put_block function to fill the stream wouldn't it?
>
> -- Josh
>
> > -----Original Message-----
> > From: John Punin [mailto:puninj@cs.rpi.edu]
> > Sent: Tuesday, July 17, 2001 5:27 PM
> > To: Josh Watts
> > Cc: John Punin
> > Subject: RE: get it while it's hot - raw XML
> >
> >
> > If you don't mind, I will send your message and my message to the
> > mailing list.
> > John
> >
> > On Tue, 17 Jul 2001, Josh Watts wrote:
> >
> > > > Just one question. Why you didn't just add a line to your
program:
> > > >
> > > >  HTConversion_add(c, "text/xml",            "*/*",
> > > > My_HTXML_new,      1.0, 0.0, 0.0);
> > > >
> > > > Where c is the list of your converters and My_HTXML_new is
> > > > your generic stream.
> > >
> > > To be honest with you, it never occurred to me. I'm working
> > on adding
> > > WebDAV functionality to libwww and noticed that XML
> > documents returned
> > > from PROPPATCH or PROPFIND methods were getting thrown to the XML
> > > parser. I thought there must have been a way to override
> > libwww's MIME
> > > handlers but I wasn't sure how. Looking at your suggestion
> > I see that
> > > this is a much more elegant solution. BTW, you should send your
> > > suggestion to the mailing list.
> > >
> > > Thanks for the help!
> > >
> > > -- Josh
> > >
> >
> >
>

Received on Wednesday, 18 July 2001 09:16:00 UTC