Jakarta Standard Taglib version 1.0.2
I have the following statement which works fine on the xml document that
I've loaded.
<x:out select="$doc//blog/blog-entry[@id = 'removespaces']/@title"/>
The problem is that I need to dynamicallly generate this xpath
statement. When I hard code it as above, it works fine. When I try to
generate it dynamically, I never get any matches. I've tried a variety
of different syntax's but basically what I would expect to do is the
following
<x:out select="$doc//blog/blog-entry[@id = '${param.article}']/@title"/>
I'm trying to take the value from ${param.article} and put it in where
the string "removespaces" was in the first xpath. I've been reading
through the JSTL spec but I can't find the answer to this one.
Any thoughts?
--
Mike Bowler
Principal, Gargoyle Software Inc.
Voice: (416) 822-0973 | Email : [EMAIL PROTECTED]
Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Dynamically generating the xpath for <x:out> Mike Bowler
- Re: Dynamically generating the xpath for <x:out> Pierre Delisle