fix (bug 22156)

fix by VG (fixes bug 22156) : XPath query resulting in attribute nodes will return attributes on the element in http://xml.apache.org/xindice/Query namespace.