commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc DEXET <Marc.De...@dsi.cnrs.fr>
Subject RE : [jelly][xml][jsl] how to create dom4j element variable in sc ript block
Date Thu, 16 Sep 2004 13:30:07 GMT
Paul Libbrecht wrote:
> That's one of the greatest strengths of jelly xml pipeline...
> <x:parse var="blop">
> 	<!-- output some XML -->
> 	<a x="b"><b/></a>
>    </x:parse>
> ${blop.toString()}
> 
> On blop you can now use XPath or some programmatic access, it'll be a
> dom4j-document (e.g. ${blop.getRootElement().getAttributeValue('x')} )
> 
> paul

Rather cool.
I think it's the big one I've missed :0)

Marc

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