Use CDATA instead of PCDATA elements, but check the other consequences ... Your elements will be used as-is, without -any- changes. While PCDATA stands for -parsed- character data. Check out the differences...
BTW: xerces-dev is deprecated; use xerces-j-dev for the java version use xerces-c-dev for the c version use xerces-j-user for the java version related questions like this one. check the apache website for more info. regards, Eric de Haan Senior Designer All Media Banking ----- Original Message ----- From: "Patrick Nip" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 7:57 AM Subject: Question > Hi All, > > I am using apache.xerces.parsers.DOMParser to parse xml documents. I noticed > when it is parsing any element content, it will ignore or throw away the > newline character. Can anyone tell me why it is doing that and how do I make > it not to ignore the character?? > > Thanks > > Patrick >