I am having trouble constructing a single XPath statement to return two different sets of attributes.
For example take the following XML document:
//@*[name()='alpha' or name()='beta']
By using the | operator in an XPath expression you can select several paths:
|
//@alpha | //@beta