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.

thanks,

-gregor

--
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
[EMAIL PROTECTED]                       [EMAIL PROTECTED]

Reply via email to