|Re: ws:file in JET2 [message #43489]
||Sun, 23 March 2008 14:16
Originally posted by: merks.ca.ibm.com|
It's best to ask on the M2T newsgroup, so I've added that to the "to"
list of the reply.
Kamesh Sampath wrote:
> Can anyone let me know how to use an xpath expression within JET2 ? I am
> trying to prefix my file names of the ws:file tag with an value evaluting to
|Re: ws:file in JET2 [message #43517 is a reply to message #43489]
||Mon, 24 March 2008 07:33
| Felix Dorner
Registered: July 2009
>> Can anyone let me know how to use an xpath expression within JET2 ? I |
>> am trying to prefix my file names of the ws:file tag with an value
>> evaluting to xPath
Depends on the context.
If the attribute expects an XPath expression you can enter it directly
<c:iterate select="//Dog" ..> // select all dogs.
If you'd like to set an attribute to be the _value_ of an XPath
Expression, you have to put it in curly braces, just like in XSLT.
Look at this example:
the name, package and srcFolder attributes are all Xpath expressions.
It works the same way in the file tag.
Powered by FUDForum
. Page generated in 0.13597 seconds