Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Anonymous Monk
on Jul 08, 2013 at 01:23 UTC ( #1043022=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl xpather.pl ravi06.xml
    /book:bookResource/book:book/book:meta/book:title/book:subTitle
    ...
    ------
    
    $
    
  2. or download this
    //*[ name() = "book:isbn" and @isbn and @type = "ppub" ]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043022]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-12-09 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.