Skip to Main Content

Java Programming

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!

Dom Parsing and BR tag problem...

807605Sep 3 2007 — edited Sep 3 2007
hi all,

I have a Dom parser which examines an xml file and creates a Jtree from its content... it works fine except that when it meets a </br> tag it creates a new node for it in the tree... is there anyway to get it to consider the two "node" as one...

example:
- <p>
some text 1

some text 2
</p>

should be added in one node as some text 1 some text 2 instead it puts some text 1 in one node and some text 2 in another....

thanks
Lila
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2007
Added on Sep 3 2007
12 comments
609 views