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

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

by Anonymous Monk
on Jun 11, 2012 at 19:56 UTC ( #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
Node Status?
node history
Node Type: note [id://975629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-07-25 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls