in reply to Re: HTML and Xpath
in thread HTML and Xpath

Instead of detaching (which modifies tree), you could clone
print $result->clone->findvalue(q{//div[@class="here"]});

Replies are listed 'Best First'.
Re^3: HTML and Xpath
by way (Sexton) on Nov 06, 2008 at 15:56 UTC

    Yes, i test and both method works, "clone" is really a good option too, thank you