Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Stepping up from XML::Simple to XML::LibXML

by Anonymous Monk
on Jun 11, 2012 at 19:56 UTC ( [id://975629]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $channel_template =<<END;
    <object>
    ...
    $doc->setEncoding('UTF-8');
    $root = $doc->documentElement();
    
  2. or download this
    $output_element = $doc->createElement('out');
    
  3. or download this
    
    <object_wrapper>
    ...
        </object>
    </object_wrapper>
    
  4. or download this
    $parser = XML::LibXML->new();
    $parser->keep_blanks(0);  
    ...
    my ($object_element) = $root->findnodes('//object');
    $doc->setDocumentElement($channel_element);
    $root = $doc->documentElement();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-03-30 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found