mericson
10-16-2004, 07:06 PM
If I'm assigning an attribute with a javascript expression that requires an embedded single-quote, how do I do it?
For example I would like to create this string dynamically "foo[@id='bar'" where mypath=foo and val=bar
This example shows ^ where a single-quote should appear:
datapath="${mypath + '[@id=^' + value +'^]}"
For example I would like to create this string dynamically "foo[@id='bar'" where mypath=foo and val=bar
This example shows ^ where a single-quote should appear:
datapath="${mypath + '[@id=^' + value +'^]}"