Help for this page

Select Code to Download


  1. or download this
    # Yes, I could use a different slurp funciton...
    my $readin="";
    ...
    }
    close IN;
    my $result = XMLin($readin,KeyAttr=>{item=>'name'},ForceArray=>1);
    
  2. or download this
    my $result = XMLin("out.xml",KeyAttr=>{item=>'name'},ForceArray=>1);