In my XML document, some node attributes data contains both single quote and double quote characters, such as <input msg="Hello "World", What's up"/>. The double quotes are in form of escape sequence. I am not able to locate such elements using an XPath expression. I tried the following:
//*[@msg="Hello "World", What's up"]
Failes with string error at double quote before World
//*[@msg='Hello "World", What's up']
Failes with string error at single quote after What
//*[@msg="Hello "World", What's up"]
No Error but does not return any node
//*[@msg="Hello "World", What's up"]
No Error but does not return any node
I tried both MSXML 3.0 and MSXML 4.
Any ideas??
//*[@msg="Hello "World", What's up"]
Failes with string error at double quote before World
//*[@msg='Hello "World", What's up']
Failes with string error at single quote after What
//*[@msg="Hello "World", What's up"]
No Error but does not return any node
//*[@msg="Hello "World", What's up"]
No Error but does not return any node
I tried both MSXML 3.0 and MSXML 4.
Any ideas??