My XML:
<root>
<cars>
<makes>
<honda year="1995">
<model />
</honda>
<honda year="2000">
</honda>
</makes>
</cars>
</root>
I need XPath, which will get me all the models for <honda>since 1995.
So:
/ root / cars / makes / honda
But how to refer to an attribute?
source
share