Hey gang, I have a question about HTML::TreeBuilder.
Given the following code:
use HTML::TreeBuilder;
my $root = HTML::TreeBuilder->new_from_file( "product.html" );
$root->eof();
$root->dump;
I get the following dump:
...
<tr> @0.1.1.0.1.0.10
<td align="right"> @0.1.1.0.1.0.10.0
<strong> @0.1.1.0.1.0.10.0.0
"Add'l Return Info:"
<td> @0.1.1.0.1.0.10.1
"Past Exchange-Call Antec 510-770-1200"
<tr> @0.1.1.0.1.0.11
<td align="right"> @0.1.1.0.1.0.11.0
<strong> @0.1.1.0.1.0.11.0.0
"Mfr. Warranty:"
<td> @0.1.1.0.1.0.11.1
"3 YEARS"
...
Ok here's the question. Is there a way to use the (@0.1.1.0.1.0.11.0.0) notation to go to a specific node and get the information there?
Given the following code:
use HTML::TreeBuilder;
my $root = HTML::TreeBuilder->new_from_file( "product.html" );
$root->eof();
$root->dump;
I get the following dump:
...
<tr> @0.1.1.0.1.0.10
<td align="right"> @0.1.1.0.1.0.10.0
<strong> @0.1.1.0.1.0.10.0.0
"Add'l Return Info:"
<td> @0.1.1.0.1.0.10.1
"Past Exchange-Call Antec 510-770-1200"
<tr> @0.1.1.0.1.0.11
<td align="right"> @0.1.1.0.1.0.11.0
<strong> @0.1.1.0.1.0.11.0.0
"Mfr. Warranty:"
<td> @0.1.1.0.1.0.11.1
"3 YEARS"
...
Ok here's the question. Is there a way to use the (@0.1.1.0.1.0.11.0.0) notation to go to a specific node and get the information there?