on 11-07-2007 3:14 PM
I would like to retrieve a value from one of 50 Locals. I want to identify the name of the Local dynamically and would prefer NOT using a large switch statement. Is there a way to build an XPATH statement dynamically based on the value of Transaction variables???
Thanks Guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Something like this:
GetDataFromLocal.Request{/#Transaction.LocalName#/Data} or
GetDataFromLocal.Request{/[LocalName=#Transaction.LocalName#]/Data}
Message was edited by: MA
Michael Appleby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. Use #Transaction.<variablename># in your XPath (or a Local.<variablename> whatever the case may be)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.