|
I noticed that the CPAN forum rendered/translated my HTML BR tags that were needed for the example.
I am re-posting for clarification. Sorry about posting to the XML::TreeBuilder module, could not find one for HTML::TreeBuilder. HTML-BR-TAG-HERE is used to replace the true BR tag
=======================================================================================
I am using an example from Sean Burke's "Perl & LWP" to use the TreeBuilder module to build a tree. I want to extract the text from embedded HMTL tables. The method as_text() is used to extract the text. I am stumbling upon embedded
tags in the table text that are not being evaluated as I would expect. Example of text - 123 Main Street HTML-BT-TAG-HERE Anytown, CA HTML-BR-TAG-HERE 123456.
This is displayed as
123 Main StreetAnytown, CA123456
when using the as_text() method. Is there some way of translating the html/text and having it display on separate lines as in: 123 Main Street Anytown, CA 123456
|