metadata: completed first version of getXPath-method