cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor J. Rothfuss" <>
Subject count() in jxpathmetamodule does not work
Date Wed, 10 Nov 2004 22:57:25 GMT
i am trying to do

<map:parameter name="numberofnodes" value="{xml:count(/root/node)}"/>

with xml being a jxpathmetamodule defined in cocoon.xconf. the () in the 
xpath seems to throw cocoon off. any ideas how to make this work?

i tested a count() xpath inside a jxtemplate to rule out that jxpath 
cannot handle count(), worked fine.



Gregor J. Rothfuss
COO, Wyona       Content Management Solutions
Apache Lenya                                 

View raw message