how replace whitespace while reading record furnish an xml dom


i'm perplexing review record furnish dom document, nonetheless record whitespace newlines i'm perplexing replace them, nonetheless i couldn't:



documentbuilderfactory docfactory=documentbuilderfactory.newinstance();
docfactory.setignoringelementcontentwhitespace(true);


i javadoc setignoringelementcontentwhitespace slight operates wholly validating fall enabled, nonetheless i haven't dtd xml schema document.



what i do?



update



i don't thought broach myself < !element... declarations i have attempted the
solution due separate tomalak, nonetheless doesn't work, i have used java 1.6 an linux environment. i cruise some-more due i few methods replace whitespace calm nodes



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?