title: How to add an attribute "type" for default data type of elements in XSLT transformation
body: <p>For Example :</p>
  
  <h2>Input XML:</h2>
  
  <pre><code>&lt;employee&gt;
       &lt;name&gt;Ragu&lt;/name&gt;
       &lt;city&gt;Chennai&lt;/city&gt;
       &lt;age&gt;25&lt;/age&gt;
  &lt;/employee&gt;
  </code></pre>
  
  <p>Data type for above request xml element has been defined in request Schema file.
  name is string, city is string and age is int data type.</p>
  
  <h2>Output of transformation should be like:</h2>
  
  <pre><code> &lt;employee&gt;
        &lt;name type="string"&gt;Ragu&lt;/name&gt;
        &lt;city type="string"&gt;Chennai&lt;/city&gt;
        &lt;age type="int"&gt;25&lt;/age&gt;
     &lt;/employee&gt;
  </code></pre>
  
  <p>Please anyone give the solution for this transformation. Thanks in Advance</p>