Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 wandering the Monastery: (2)
As of 2014-09-21 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls