How would an Xpath expression look like that retrieves all attribute names (not attribute values!) for a given node resp. xml tag?
Assume the following XML document:
<bookstore>
<book>
<title lang="eng">Harry Potter</title>
<price>29.99</price>
</book>
<book>
<title lang="fr" type="easyreading">Monsieur Claude</title>
<price>39.95</price>
</book>
</bookstore>
The Xpath //title/@* would select "eng, fr, easyreading", but which Xpath would select "lang, lang, type"?