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
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
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
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
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