Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How do i get value of an element if the next elememnt has specific value in XML::LibXML using Xpath? (OT)

by LanX (Canon)
on Jul 07, 2013 at 19:20 UTC ( #1043001=note: print w/ replies, xml ) Need Help??


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)


Comment on Re: How do i get value of an element if the next elememnt has specific value in XML::LibXML using Xpath? (OT)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2014-11-26 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls