commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Garthwaite" <dave.garthwa...@icommobile.com>
Subject [Jelly] How to select an XML node where attribute = a jelly var
Date Wed, 26 Mar 2003 19:05:34 GMT
I have parsed an XML doc using <parse>.
I want to select a node where an attribute equals the value of a jelly variable.
I tried <jx:set var="sourceNode" select="$doc/source[@name='${sourceName}']"/> but this
does not work.
If I use a literal instead of ${sourceName}, it does work.
What am I doing wrong ?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message