I
Ivan Shmakov
Given that the "class" attribute is "a value that is a set of
space-separated tokens" [1], is there an easy way to match
elements of a particular class in XPath? Unfortunately,
//node ()[@class = "foo"] doesn't seem to fit.
TIA.
[1] http://www.w3.org/TR/html5/dom.html#classes
PS. I'm using libxml2 for XPath support.
space-separated tokens" [1], is there an easy way to match
elements of a particular class in XPath? Unfortunately,
//node ()[@class = "foo"] doesn't seem to fit.
TIA.
[1] http://www.w3.org/TR/html5/dom.html#classes
PS. I'm using libxml2 for XPath support.