Since we don't support DTD declaration, 'unique-ids' option can be used to specify which attributes should be treated as type ID as defined in XML. Need to add unit test for this option. http://www.w3.org/TR/xpath/#unique-id