http://www.perlmonks.org?node_id=1043001


in reply to How do i get value of an element if the next elememnt has specific value in XML::LibXML using Xpath?

Sorry, isn't this rather an XPath than a Perl-question?

edit
From my memory and w/o ever working with this module

you should try experimenting with something like

./book:isbn[@type="epub"]/@isbn

Cheers Rolf

( addicted to the Perl Programming Language)

Server Error (Error ID 2585523c2136032)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.