Help for this page

Select Code to Download


  1. or download this
                                   *[@att='type'] => \&changeTagAttrOrderH
    +andler;
    
  2. or download this
            $rootElt->set_atts( { $att1 => $att1Val, $att2 => $att2Val, $a
    +tt3 => $att3Val});
    
  3. or download this
    use warnings; use strict;
    use XML::Twig; use Tie::IxHash;
    ...
    $tw->set_root(XML::Twig::Elt->new("date", \%atts));
    $tw->flush; print "\n";
    __END__
    
  4. or download this
    use warnings; use strict;                                             
    +                             
    use XML::Twig;                                                        
    +                      
    ...
    $de->set_att("year", 2010, "month", 3, "day", 5); 
    $tw->flush; print "\n";
    __END__