[Htmlparser-user] How to extract untagged text
Brought to you by:
derrickoswald
From: Nagahiro D. <e27...@gm...> - 2008-04-30 03:00:16
|
Hello. I'm new to HTML Parser. For example, ----- <html> <body> <object id="aaa"> ... </object> Lorem ipsum dolor sit amet,<br> consectetur adipisicing elit,<br> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <object id="xxx"> ... </object> </body> </html> ----- My question: How to extract ----- Lorem ipsum dolor sit amet,<br> consectetur adipisicing elit,<br> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ----- ? I tried toHtml method of TextNode, but it seems to ignore the <br> tag. Thanks for help! Anonymous Otaku |