cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor J. Rothfuss" <gre...@apache.org>
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.

thanks,

-gregor

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

Mime
View raw message