Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 meditating upon the Monastery: (6)
As of 2014-08-02 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls