public String GetElementAttr(String xPathExpression){
  try {
    org.jdom.Attribute node=(Attribute)XPath.selectSingleNode(this.xmlDocument,xPathExpression);
    return node.getValue();
  }
 catch (  Exception ex) {
    LOG.error("Error in handler: " + ex.getMessage(),ex);
    return "";
  }
}

public String GetElementAttr ( String xPathExpression ) { try { org . jdom . Attribute node = ( Attribute ) XPath . selectSingleNode ( this . xmlDocument , xPathExpression ) ; return node . getValue ( ) ; } catch ( Exception ex ) { LOG . error ( "Error in handler: " + ex . getMessage ( ) , ex ) ; return "" ; } }
get the text for the selected element
