Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: XPATH DOM traverse html/xml (build your own)

by ikegami (Pope)
on Dec 07, 2009 at 19:02 UTC ( #811602=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $root   = $doc->documentElement();
    
    visit($root, '/*');
    
  2. or download this
    /*: OTA_AirSeatMapRS
    /*/*[1]: Success
    ...
    /*/*[2]/*[3]/*[3]/*[1]/*[3]: Surname
    /*/*[2]/*[3]/*[3]/*[1]/*[4]: NameTitle
    /*/*[2]/*[3]/*[3]/*[2]: TravelerRefNumber
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-06-27 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (333 votes). Check out past polls.