title: how to change node values xslt
body: <p>I want to have some modificatons over one xml i have try to use xslt sentences but I am unable to do it, after copying I delete the children nodes when I try to put the changes. 
  having the xml posted: </p>
  
  <pre><code>`
  
  &lt;tree&gt;
         &lt;sublevel&gt;
        &lt;definition&gt;subnetting&lt;/definition&gt;
        &lt;status&gt;availabe&lt;/status&gt;
        &lt;categories&gt;
            &lt;category&gt;
                      &lt;label&gt;IPV4&lt;/label&gt;
                      &lt;attributes&gt;
                          &lt;attribute&gt;
                              &lt;label&gt;MASK&lt;/label&gt;
                              &lt;value&gt;/24&lt;/value&gt;
                          &lt;/attribute&gt;
                          &lt;attribute&gt;
                              &lt;label&gt;STARTING_IP&lt;/label&gt;
                              &lt;value&gt;10.0.0.1&lt;/value&gt;
                          &lt;/attribute&gt;
                          &lt;attribute&gt;
                              &lt;label&gt;Type&lt;/label&gt;
                              &lt;value&gt;4&lt;/value&gt;
                          &lt;/attribute&gt;
                      &lt;/attributes&gt;
                  &lt;/category&gt;
        &lt;/categories&gt;
        &lt;identifier&gt;subnetworkipv4correct&lt;/identifier&gt;
     &lt;/sublevel&gt;
  &lt;/tree&gt;
  </code></pre>
  
  <p>I want to use one xslt to perform the output:</p>
  
  <p>`</p>
  
  <pre><code>&lt;tree&gt;
     &lt;sublevel&gt;
        &lt;definition&gt;subnetting&lt;/definition&gt;
        &lt;status&gt;availabe&lt;/status&gt;
        &lt;origen&gt;template&lt;/origen&gt;
        &lt;categories&gt;
            &lt;category&gt;
                      &lt;label&gt;IP&lt;/label&gt;
                      &lt;attributes&gt;
                          &lt;attribute&gt;
                              &lt;label&gt;Mask&lt;/label&gt;
                              &lt;value&gt;/24&lt;/value&gt;
                          &lt;/attribute&gt;
                          &lt;attribute&gt;
                              &lt;label&gt;START&lt;/label&gt;
                              &lt;value&gt;10.0.0.1&lt;/value&gt;
                          &lt;/attribute&gt;
                          &lt;attribute&gt;
                              &lt;label&gt;Version&lt;/label&gt;
                              &lt;value&gt;4&lt;/value&gt;
                          &lt;/attribute&gt;
                      &lt;/attributes&gt;
                  &lt;/category&gt;
        &lt;/categories&gt;
        &lt;identifier&gt;subnetworkipv4correct&lt;/identifier&gt;
        &lt;/sublevel&gt;
      &lt;/tree&gt;
  </code></pre>
  
  <p>`</p>
  
  <p>I have test a lot of templates but i am unable to do it.</p>