class XmlUtilsImpl implements XmlUtils {

    @Override
    public String getAttributeText(Node node, String attribute) throws XPathExpressionException
    {
        return (String) xPath.evaluate("./@" + attribute, node, XPathConstants.STRING);
    }

}