For example:
//person[@id=\'abc123\']/@haircolor|/@weight\"
PS. there are lots of \"person\" records
If you are trying to get the values of the specified attributes I would suggest introducing a variable for the requested person.
After that you can get any attribute from the requested person by using the specified variable.