Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my ($value) = $root->findnodes('parameters/key/@value[.="500"]');
    $value->setValue(501);
    print $root->serialize;
    
  2. or download this
    open file.xml ;
    set /root/parameters/key/@value[.="500"] 501 ;
    save :b ;