The full class bellow:
import java.io.IOException;
import java.io.InputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import...
Type: Posts; User: artaxerxe
The full class bellow:
import java.io.IOException;
import java.io.InputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import...
This is my code:
public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException, XPathExpressionException {
DocumentBuilderFactory dbf =...
I have the following 2 XML's:
<root><a><b>some text</b></a></root>
and
<root>
<a>
<b>some text</b>
</a>
</root>
I load them each in a different org.w3c.dom.Document: ctx1 and ctx2.