Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

XML::LibXML findnodes and namespaces

by shamu (Acolyte)
on Mar 28, 2007 at 05:16 UTC ( [id://606909]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $parser = XML::LibXML->new();
    my $doc = $parser->parse_file($file);
    ...
        }
    my $path = '//fooResponse/info/fooTransaction/transactionDetail/histFi
    +le:transactionSummary/summary:PacManScore';
    my @nodes = $xc->findnodes($path);
    
  2. or download this
    //fooResponse/info/fooTransaction/transactionDetail/histFile:transacti
    +onSummary/summary:PacManScore
    
  3. or download this
    //*/info/fooTransaction/transactionDetail/*
    
  4. or download this
    //*/info/fooTransaction/transactionDetail/histFile:transactionSummary/
    +*
    
  5. or download this
    <Extract>
      <Service>
    ...
        </Transaction>
      </TransactionList>
    </Extract>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found