Problems parsing XML, how to get around newlines?
Hello
Hope nobody is angry with me posting this problem here... I'm working on a MIDP project, even if this problem isn't exactly a midp problem...
Ok if I try to read in:
I replaced the whitespaces with _ because of the forum
_<ims:p>Read the following question and indicate your agreement on a
_scale of 1 = strongly disagree to 5 = strongly agree.</ims:p>
I get the newline too in my parser. The whitespaces I remove with trim() (better solutions?)
But how to remove the new line?
What I get parsing it is:
Read the following question and indicate your agreement on a
_scale of 1 = strongly disagree to 5 = strongly agree.
thanks
Jossi

