Not sure about the need to escape the `*`, but your current XPath is selecting all elements that have an `@A` and are children of an element, so it would match for most elements but you would miss the document element if it had an A attribute(since it won't have a parent element).
– Mads HansenApr 11 '11 at 11:14
1 Answers1
212
This XPath selects all elements that have an A attribute: