You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Hans Gill <ha...@rhinosystemsinc.com> on 2000/07/27 22:57:12 UTC

WhiteSpace

when i build a dom using this code and then i print out that dom, i get
lot of spaces between the nodes. Is there anything extra that i have to
get rid of the spaces in the newly created dom???? I can't check the
archives because they are down, otherwise im sure this question has come
up before. Thanks


DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document test = builder.parse("file:///c:/foo2.xml");