Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[erix]: cya Corion :)
[stevieb]: Joan Jett, Hendrix, Neil Young, Dave Keuning (The Killers)... I have my mind elsewhere so I'm limited in my capacity to think about this righ tnow ;)
[erix]: another blues with Big Red :)
[stonecolddevin]: I will say John Mayer is an excellent guitarist, I don't like his music but he's pretty damn good
[erix]: scd: maybe you like John Mayall better :)
[erix]: (mayall = british blues)
[planetscape]: sleep well, Corion

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-06-22 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (531 votes). Check out past polls.