lundi 8 août 2016

How to ignore whitespaces in java DOM

I'm trying to read a file to produce a DOM Document but the file has whitespaces and newlines. I'm trying to ignore them, but I couldn't:

dbFactory.setIgnoringElementContentWhitespace(true);

What can I do?

Aucun commentaire:

Enregistrer un commentaire