Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by ravi06 (Novice)
on Jul 07, 2013 at 19:09 UTC ( [id://1043000]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <book:bookResource>
    <book:book>
    <book:meta coverImage="/cover.gif" doi="10.1088" publicationDate="2016
    +-12-01" issn="1111-222X" collectionId="0001">
    ...
    </book:meta>
    </book:bookResource>
    </book:book>
    
  2. or download this
    use XML::LibXML;
    
    ...
            print $book_node->findvalue($book_element);
            }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found