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 file will be requested due to an xml error. Need a copy? Bert
At 20:52 14/07/2002 -0500, you wrote: >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 > > document stream. Some samples are available on the JTidy site at > > http://sourceforge.net/projects/jtidy/ > > > > Bert > > > > At 19:27 13/07/2002 -0500, you wrote: > > >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 - moving to 2.x next > > >time round !). > > > > > >Many Thanks in Advance. > > > > > >Colm. > > > > > >--------------------------------------------------------------------- > > >Please check that your question has not already been answered in the > > >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > >For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > >-- >Colm O'Riordan | Director >Communicraft Ltd. >106 Pembroke Road, >Ballsbridge, >Dublin 4, >Ireland. >phone: 353 1 6607400 >mobile: 353 86 2225078 >web: www.communicraft.com > >* Online Radio by Communicraft: http://www.powerfm.org * > > > >--------------------------------------------------------------------- >Please check that your question has not already been answered in the >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>