commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject RE: [jelly] outputing unescaped xml
Date Thu, 03 Apr 2003 07:38:19 GMT
Mark,

> 
> Attached is a tag I created for this purpose sometime ago 
> (pre execption
> handling change), so may or may not work with latest CVS but 
> may be of some
> use ..
> 
> Don't ask why it's called elephant :)
> 
> <j:jelly
> xmlns:e="jelly:org.apache.commons.jelly.tags.elephant.Elephant
> TagLibrary"
> <e:xmlOutput encode="false">
> ....
> </e:xmlOutput>
> 

Thank you!  Your <xmlOutput/> tag should work most of the time.  It does
however assume that the XMLoutput content handler is a
org.dom4j.io.XMLWriter, which not always is the case.  Also, IMHO, it would
be nice if this were the default behaviour of the XMLOutput class.

Cheers,

--
knut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message