cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@apache.org>
Subject jx:attribute
Date Tue, 19 Apr 2005 14:21:10 GMT
I have committed first (really lame) implementation of jx:attribute.
Finally you are able to do something like:

> <?xml version="1.0"?>
> <root xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
>     <one>
>         <jx:attribute name="foo" value="bar"/>
>     </one>
>     <jx:set var="a" value="dd"/>
>     <two>
>         <jx:if test="${a == 'dd'}">
>             <jx:attribute name="second" value="twoAttr"/>
>         </jx:if> xyz </two>
>     <three foo="bar">
>         <jx:attribute name="foo2" value="bar2"/>
>         <jx:attribute name="${a}" value="${a}"/>
>         <abc>def</abc>
>     </three>
> </root>

Could anyone could review the implementation? It is not NS aware yet.

-- 
Leszek Gawron                                                 MobileBox
lgawron@apache.org                              http://www.mobilebox.pl

Mime
View raw message