Top "Jdom" questions

JDOM is an open source library for working with a Java representation of an XML document.

Select a node using xpath and jdom

I have an xform document <?xml version="1.0" encoding="UTF-8"?><h:html xmlns:h="http://www.w3.org/1999/…

java xml xpath jdom javarosa
Set namespace using jdom

I would like have this format in xml: <ns2: test xmlns="url" xmlns:ns2="url2" xmlns:ns3="url3"> .... &…

java xml-namespaces jdom
Why getChild() method of JDOM returns null?

I'm doing a project regarding html document manipulation. I want body content from existing html document to modify it into …

java html xml jdom
org.jdom.IllegalAddException: The Content already has an existing parent "root"

I am trying to split a large XML file (500mb) using jDOM (I know I should probably try SAX but ...) …

java xml split jdom
xpath 2.0 for java possible

What package shall I use for XPath? I want wo query for elements and then extract some values around these …

java xml dom xpath jdom
How to remove child element from XML in java?

This is my XML file <?xml version="1.0" encoding ="utf-8" ?> <mcss> <quest ans="1"> <question&…

java xml dom jdom jdom-2
What's the difference of JAXP, JDOM, DOM4J,and XERCES?

What is the difference of them? It is said that JAXP is only a API Specification, JDOM and DOM4J …

java xml jdom jaxp
Java I/O over an NFS mount

I have a bit of Java code that outputs an XML file to a NFS mounted filesystem. On another server …

java samba nfs jdom
How can I get JDOM/XPath to ignore namespaces?

I need to process an XML DOM, preferably with JDOM, where I can do XPath search on nodes. I know …

xml xpath namespaces ignore jdom
Remove Element from JDOM document using removeContent()

Given the following scenario, where the xml, Geography.xml looks like - <Geography xmlns:ns="some valid namespace"> &…

java xml jdom