Search:

Type: Posts; User: artaxerxe

Search: Search took 0.09 seconds.

  1. Re: Java org.w3c.dom.Document.normalize() isn't working as expected

    The full class bellow:



    import java.io.IOException;
    import java.io.InputStream;

    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import...
  2. Re: Java org.w3c.dom.Document.normalize() isn't working as expected

    This is my code:


    public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException, XPathExpressionException {

    DocumentBuilderFactory dbf =...
  3. Java org.w3c.dom.Document.normalize() isn't working as expected

    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.
Results 1 to 3 of 3