Hi,
It looks like a problem with the sample code. I changed it to:
private static String getDOM4JElementTextByTagName(Element element, String tagname) {
List list = element.elements(tagname);
Element elem = (Element)list.get(0);
return elem.node(0).getStringValue();
}
and that seemed to work.
If this is not what you want, the full javadoc for DOM4J is >here<
HTH
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management