XML Pointer Language (XPointer)
XML Pointer Language (XPointer) allows addressing the internal structures of XML documents. It allows for examination of a hierarchical document structure and choice of its internal parts based on various properties, such as element types, attribute values, character content, and relative position.
More information: XPointer page on the W3C website
More on the general topic: XML Linking Language (XLink)