cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Rudolf <wrud...@gmx.net>
Subject [Newbie question] XSL select with parameter isn't working w/ full XPATH expression
Date Fri, 15 Apr 2005 00:03:37 GMT
Hello,
this simple example below is working w/ Cocoon:
URL:	http://localhost:8888/c2/systems.html?xpa=Active
XSL:	<xsl:for-each select="/systems/system[status=$xpa]">

For a simple application, it would be very usefull, if I could pass full 
XPATH expressions with the URL to gain better flexibility for queries.
Something like:
URL: 
http://localhost:8888/c2/systems.html?xpa=/systems/system[status=Active]
XSL:	<xsl:for-each select="$xpa">

I've been told to use xalan:evaluate($xpa), but then I get an "org.apache.cocoon.ProcessingException:
Unable to get transformer handler for" error.

Any help would be highly appreciated.

Many thanks,
Werner


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message