I use the following XPATH Query
to list the object under a site. ListObject[@Title='SomeValue']
. SomeValue is dynamic. This query works as long as SomeValue does not have an apostrophe ('). Tried using escape sequence also. Didn't work.
What am I doing wrong?
question from:https://stackoverflow.com/questions/1341847/special-character-in-xpath-query