I am trying to split a large XML file (500mb) using jDOM (I know I should probably try SAX but ...) but I am getting org.jdom.IllegalAddException: The Content already has an ...
Lets consider this xml file :
<?xml version="1.0" encoding="UTF-8"?> <root attribute="value"> <element>myElement</element> </root>
I have to parse an XML file using JDOM and get some infos from all his elements.
<?xml version="1.0" encoding="UTF-8"?> <root> <element1>something</element1> <element2> ...
I am using JDOM to read from XML documents using xpaths. my document looks like below..
<TEMP_INTR_ID xsi:schemaLocation="urn:hl7-org:v3 REPC_IN150015UK05.xsd" xmlns:hl7="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0"> <id ...