cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Streaming strings in JXTemplate
Date Thu, 12 May 2005 12:06:08 GMT
Vadim Gritsenko wrote:
> Leszek Gawron wrote:
> 
>> Leszek Gawron wrote:
>>
>>> Daniel Fagerstrom wrote:
>>>
>>>> If you want to make it even simpler we could either have another 
>>>> instruction that parses strings to SAX, or have some attribute on 
>>>> jx:out for parsing the argument.
>>>
>>>
>>>
>>> <jx:out value="${str}" xmlize="true"/> ? Almost one liner.. some 
>>> users also asked about it long time ago.
>>>
>>
>> or even better: <jx:out value="${str}" xmlize="true" strip-root="true"/>
> 
> 
> xinclude has parse attribute:
> 
>   <jx:out value="${str}" parse="xml"/>
> 
> where parse is either "text" or "xml".
what about @strip-root attribute? Is there an equivalent?

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

Mime
View raw message