book @type=current()]/@category" selects all "book" elements in the document that have a "type" attribute equal to the current ...