PrefixedName (XPathExpression argument) { final XPathNodeTest test = findNodeTest(argument); if (test != null && test.isNameTest() && test.getPrincipalType() == XPathNodeTest.PrincipalType.ELEMENT) { return test.getQName(); } return null; }