Help for this page

Select Code to Download


  1. or download this
    <Shelf_Info>
               <switch Name="Puebla01">
                   <shelfType>7480</shelfType>
    ...
                   <commentText>ATM access switch</commentText>
               </switch>
    </Shelf_Info>
    
  2. or download this
    my $XML = XML::Smart->new() ;
    $XML->{Shelf_Info} ;
    $XML->{Shelf_Info}{switch}{Name} = "$pp";
    ...
    $XML->{Shelf_Info}{switch}{commentText} = "$comment";
    $XML->{Shelf_Info}{switch}{commentText}->set_node(2);
    $XML->save('test.xml') ;