I am having a problem selecting nodes by attribute when the attributes contains more than one word. For example:
>
A 2.0 XPath that works:
//*[tokenize(@class,'\s+')='atag']
or with a variable:
//*[tokenize(@class,'\s+')=$classname]