cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: AW: xmlize in jx and 'NOT_FOUND is not a function'
Date Mon, 14 Nov 2005 21:50:00 GMT
Merico Raffaele wrote:
> Hi Upayavira
> 
> 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"/>

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

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


Mime
View raw message