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.

Dom4j selectNodes(arg) don't give list of nodes

I am using DOM4j for XML work in java, my xml is like this: <?xml version="1.0" encoding="UTF-8" …

java xml-namespaces dom4j
Reading XML elements content with DOM4J

I need some help. I have the following XML file: <?xml version="1.0" encoding="UTF-8"?> <simulation> <…

java xml xml-parsing dom4j
java.lang.NoClassDefFoundError: org/dom4j/Document

I have a class called XMLtoXML.java and this is one of it's methods... import org.dom4j.Document; import …

java weblogic classloader noclassdeffounderror dom4j
convert dom4j docment to W3c document

i'm need to convert an xml build with dom4j to w3c document and don't have any idea about …

java xml w3c dom4j
Java - dom4j XPath for children nodes

I am using [dom4j]1 and [XPath]2 in order to traverse an XML. Assume I have in hand a Node …

java xml xml-parsing sax dom4j
adding namespace and namespace prefix using dom4j

i am updating one xml using dom4j as below. SAXReader reader = new SAXReader(); document = reader.read( xmlFileName ); but it …

java xml-parsing xml-namespaces dom4j
ClassNotFoundException: org.dom4j.DocumentException

I am trying to debug (F11 on Eclipse) a java GUI application I inherited but while the application runs fine (…

java eclipse classnotfoundexception dom4j
Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

I've a gradle project which uses hibernate > 4 . If I run my war file in Apache tomcat, I don't get …

deployment jboss war wildfly-8 dom4j
dom4j-java- how to change the value of an attribute

In a Java program, i am processing an xml using dom4j. Now, I want to update an attribute of …

java xml dom4j
Dom4j xmlns attribute

I want to add xmlns attribute to the root node only, however when i add a namespace to the root …

java dom4j