Say if I need to use an XPath expression as follows
v:MapLink[@Entity='TOM'S RESTAURANT']
But an exception is thrown because of the quote in TOM'S.
Is there a way around this?
Thanks.
presumably this is all inside a string itself, so would this work?
"v:MapLink[@Entity=\"TOM'S RESTAURANT\"]"
Just use different quotes around the attribute:
v:MapLink[@Entity="TOM'S RESTAURANT"]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With