Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: XML::LibXML findnodes and namespaces

by roman (Monk)
on Mar 29, 2007 at 10:32 UTC ( [id://607194]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $xc->findnodes('//*/info/fooTransaction/transactionDetail/histFile:tra
    +nsactionSummary/*')
    
  2. or download this
    # looking by local-name
    $xc->findnodes('//*/info/fooTransaction/transactionDetail/*[local-name
    +() = "transactionSummary"]/*');
    
    # looking by qualified name
    $xc->findnodes('//*/info/fooTransaction/transactionDetail/*[name() = "
    +histFile:transactionSummary"]/*');
    
  3. or download this
    $doc->findnodes('//*/info/fooTransaction/transactionDetail/*[name() = 
    +"histFile:transactionSummary"]/*');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-03-28 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found