Help for this page

Select Code to Download


  1. or download this
        <PrimaryServers>
            <Server Name="Old_1"/>
            <Server Name="Old_2"/>
        </PrimaryServers>
    
  2. or download this
    my $ps = $sc->first_child('PrimaryServers');
    $ps->cut_children;
    $ps->insert_new_elt("Server")->set_att('Name', "New_1");
    $ps->insert_new_elt("Server")->set_att('Name', "New_2");
    
  3. or download this
    <PrimaryServers><Server Name="New_2"/><Server Name="New_1"/></PrimaryS
    +ervers>
    
  4. or download this
    <PrimaryServers>
        <Server Name="New_2"/>
        <Server Name="New_1"/>
    </PrimaryServers>