Top "Dom4j" questions

dom4j is an open source library for working with XML, XPath and XSLT on the Java platform using the Java Collections Framework and with full support for DOM, SAX and JAXP.

XPath contains(text(),'some string') doesn't work when used with node with more than one Text subnode

I have a small problem with Xpath contains with dom4j ... Lets say my XML is <Home> <…

xpath dom4j
What Java XML library do you recommend (to replace dom4j)?

I'm looking for something like dom4j, but without dom4j's warts, such as bad or missing documentation and seemingly …

java xml dom4j
Using Xpath in Dom4j

I get the following exception when trying to access any nodes of a parsed xml document on dom4j: Exception …

java xml dom4j
Caused by: java.lang.ClassNotFoundException: org.dom4j.io.STAXEventReader

I am developing a web service application but sessionFactory bean is not creating because of below error. I can't see …

spring hibernate maven dom4j
Getting attribute value from node using dom4j

My XML is structured like the example below. I'm trying to get the attribute values out of XML using dom4…

java dom4j
Java dom4j org/jaxen/NamespaceContext exception

I have downloaded dom4j-1.6.1 and added it to java's build path. I am also familiar with java.lang.NoClassDefFoundError: …

java dom4j
how to convert dom4j document object to string

Just trying to find a way to convert a Dom4J Document content to String. It has a asXML() API …

java dom dom4j
Clean namespace handling with dom4j

We are using dom4j 1.6.1, to parse XML comming from somewhere. Sometime, the balise have mention of the namespace ( eg : ) …

java namespaces dom4j
Extracting child nodes data from given node

I want to use DOM4j for parsing xml file in Java. I have this XML as an example: <…

java xml-parsing dom4j
How to get node content of XML with Dom4j in java

I have a XML file like: <description> <text>blahblah</text> <code>code&…

java xml dom4j