You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Merico Raffaele <ra...@less.ch> on 2005/11/15 07:55:07 UTC

AW: [SPAM] Re: AW: xmlize in jx and 'NOT_FOUND is not a function'

Ciao Leszek

> > Instead of the solution below with the 'stringToSAX' JavaScript function
> I
> > have solved the xmlize problem with the following statement in the
> > JavaScript.
> >
> > var xmlizableWspResult = new
> > org.apache.cocoon.xml.StringXMLizable(xmlString);
> >
> > The jx template now just contains a simple
> > <jx:out value="${xmlizableWspResult}"/>
> >
> > More elegant, isn't it ... many thanks for your support ... Raffaele
> even more elegant in trunk:
> 
> <jx:out value="${xmlString}" xmlize="true"/>

Yes with Cocoon 2.2. 
But I am using Cocoon 2.1.7.

Cheers Raffaele

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org