Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: How can I force findnodes() to check value of attributes in either xpath1 or xpath2?

by Corion (Patriarch)
on Jul 19, 2013 at 12:46 UTC ( #1045352=note: print w/replies, xml ) Need Help??


in reply to Re^4: How can I force findnodes() to check value of attributes in either xpath1 or xpath2?
in thread How can I force findnodes() to check value of attributes in either xpath1 or xpath2?

Have you thought about not printing things if you don't want them printed?

You could also try to make your program remember the current book while descending into the chapters.

I would first find all book:bookResource nodes, and then do a second XPath search relative to each book:bookResource node. This will mean you have to understand how you can walk through an XML tree using XPath.

  • Comment on Re^5: How can I force findnodes() to check value of attributes in either xpath1 or xpath2?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-01-20 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?