title: How to add xs:type as an attribute name in xslt
body: <p>I need to insert an element  with xs:type inside it like an attribute, while transforming my xml file using an xslt. </p>
  
  <p>The output needed is in the following format</p>
  
  <blockquote>
    <p><code>&lt;Region xs:type="tRegion"/&gt;</code></p>
  </blockquote>
  
  <p>But in xslt file it shows the compile time error <strong>"Namespace prefix 'xs' is not defined"</strong>. But I don't want to define a namespace here. Instead add a colon.  </p>
  
  <p>Kindly suggest a solution for this issue. </p>