Re: requesting a form text block as xml

2002-07-15 Thread Bert Van Kets
yep I'm using Cocoon 2 and with some help from Bruno Dumon I created an XSP that receives the request string, does a JTidy parse and creates a DOM stream. This DOM stream is automatically converted to a SAX stream by Cocoon 2. This way I'm sure the processing flow won't be broken when the

Re: requesting a form text block as xml

2002-07-15 Thread Colm O'Riordan
Thanks Bert, I would love a look if thats ok ! I am using 1.8 but I'm sure the XSP would be very similar or at least give me a good starting point. Thanks Again ! Bert Van Kets wrote: yep I'm using Cocoon 2 and with some help from Bruno Dumon I created an XSP that receives the request

Re: requesting a form text block as xml

2002-07-14 Thread Bert Van Kets
I did this using JTidy. In my case I validated a string containing html and converted to xhtml. JTidy also has an option to parse XML and another one to ouput to a DOM document stream. Some samples are available on the JTidy site at http://sourceforge.net/projects/jtidy/ Bert At 19:27

Re: requesting a form text block as xml

2002-07-14 Thread Colm O'Riordan
Thanks Bert I am looking into it. Did you request the conversion/validation on the fly via XSP ? Bert Van Kets wrote: I did this using JTidy. In my case I validated a string containing html and converted to xhtml. JTidy also has an option to parse XML and another one to ouput to a DOM

requesting a form text block as xml

2002-07-13 Thread Colm O'Riordan
Hi All, I want to send a block of XML from a form to a new XML page which will render it. Does anyone know how can I use XSP to get the block and treat it as XML (like xsl:copy-of) ? It may be a simple one but I cant find any reference to it. It is for Cocoon 1.8 (last project on this platform