Como obter nó de referência em XML

tenho o seguinte XML

<?xml version="1.0" encoding="UTF-8"?> <oofc:SimpleModule xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oofc="http://oofc/SimpleOOFC" name="MDR"> <domainSorts name="Door"/> <domainSorts name="Person"/> <domainSorts name="Object"/> <domainSorts name="Room"/> .... <localVariables name="pickupPossRoom1" type="//@domainSorts.3"/> </oofc:SimpleModule>
o type em localVariables faz uma referencia a domainSorts.3, quero pergar por exemplo o atributo name desse //@domainSorts.3 neste caso Room

utilizo XPath? como faria?

grato…