For example:
//person[@id=\'abc123\']/@haircolor|/@weight\"
PS. there are lots of \"person\" records
Are you wanting to search for person nodes based on the value of multiple attributes. If that's the question then you can just use ands e.g.
//person[@id='abc123' and @haircolor='blue' and @weight='...']
If you want to search on a single attribute, but return the values of the other attributes, I would do something like this: