How not to ignore white spaces in Dom parser ?

Hi,In dom parser, how do i force the parser not to ignore white spaces when writing and reading back element values ?Thanks in advanceMano
[173 byte] By [amanoharan] at [2007-9-26 1:37:29]
# 1
ttt.Does any one has answer to this problem?
bangz at 2007-6-29 2:24:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
have you tried setIgnoringElementContentWhitespace(false) on your DocumentBuilderFactory?
ddossot at 2007-6-29 2:24:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();factory.setIgnoringElementContentWhitespace(false);
dvohra09 at 2007-6-29 2:24:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...