I use libxml2 in C application to parse XML files.
I get an error when I search for XPath with special character '$'.
Here my code :
xmlXPathExpression("//mytag/foo$");
And I get error "Invalid expression".
I tried to encode speical characters like this :
xmlXPathExpression("//mytag/foo$");
But I get same error.
Any help ? Thanks.