Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: XML::LibXML getElementsById problem

by mirod (Canon)
on Dec 15, 2005 at 19:19 UTC ( [id://517062]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $t= XML::Twig->nparse( $xml_string);
    my $elem= $t->getElementById( 'test');
    $elem->print;
    
  2. or download this
    
    #!/usr/bin/perl -w
    ...
    my $t= XML::Twig->new->parse_html( $html_string);
    my $elem= $t->getElementById( 'test');
    $elem->print;
    

Log In?
Username:
Password:

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

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

    No recent polls found