I am having a problem with the XPath request that I am executing for the Sitecore CMS system.
This request works fine:
/ root / content / Meta-Data / Tips / *
But when I try this:
/ root / content / Meta-Data / Tips / * [@SomeAttribute = 'somekey']
I get the error "End of line expected at position 22" where the dash symbol is. I got the impression that the dash was not a special character in XML ... am I doing something wrong here? Do I need to somehow encode this? Or is this an error in the XPath parser? Any suggested workarounds?
Bryan source share