Help for this page

Select Code to Download


  1. or download this
    use XML::LibXML;
    
    my $doc = XML::LibXML->new->parse_fh(\*DATA);
    ...
    
    __DATA__
    <xml> <computers> <os>Unix</os> </computers> </xml>
    
  2. or download this
    <?xml version="1.0"?>
    <xml> <computers> <os>Solaris</os> </computers> </xml>