Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

parsing new line \n

843834Apr 12 2005 — edited Apr 13 2005
i need to parse something like <text>abc\ndef</text> and display the result in a textarea.

getNodeValue() returned "abc\ndef" and this was literally displayed when my intentioin
was to see:-

abc
def

Can anyone give me some insight into what is happenning here and how can I get aorund it?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2005
Added on Apr 12 2005
5 comments
492 views