What is the XPath to find only ONE node (whichever) having a certain attribute (actually I\'m interested in the attribute, not the node). For example, in my XML, I have seve
Did you tried this?
//@lang[1]
here you can see an example.