Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 lurking in the Monastery: (18)
As of 2014-07-31 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls