title: cmn namespace not working when call inside the tag
body: <pre><code>Xml file is use as input to transformatiio
  
      &lt;SNXDispositionUpdatedMessage 
          xmlns="urn:tracelink:mapper:sl:serial_number_exchange"
          xmlns:cmn="urn:tracelink:mapper:sl:commontypes"&gt;
  
          &lt;ControlFileHeader&gt;
              &lt;cmn:FileSenderNumber&gt;0358716000006&lt;/cmn:FileSenderNumber&gt;
          &lt;/ControlFileHeader&gt;
      &lt;/SNXDispositionUpdatedMessage&gt;
  
  
  
  xlst file is used to transform rules
  
      &lt;xsl:stylesheet version="2.0"
          xmlns="urn:tracelink:mapper:sl:serial_number_exchange"
          xmlns:cmn="urn:tracelink:mapper:sl:commontypes"
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  
      &lt;xsl:output method="xml" indent="yes" /&gt;
      &lt;xsl:template match="/"&gt;
          &lt;validation&gt;
              &lt;xsl:apply-templates 
                select="SNXDispositionUpdatedMessage/ControlFileHeader"/&gt;
              &lt;xsl:apply-templates 
          &lt;/validation&gt;
      &lt;/xsl:template&gt;
  
      &lt;xsl:template match="SNXDispositionUpdatedMessage/ControlFileHeader"&gt;
  
          &lt;fieldvalidation&gt;
              &lt;xsl:choose&gt;
                  &lt;xsl:when test="cmn:FileSenderNumber != ''"&gt;    
                      &lt;validtedfield&gt;FileSenderNumber&lt;/validtedfield&gt;
                      &lt;value&gt;&lt;xsl:value-of select="cmn:FileSenderNumber"/&gt;&lt;/value&gt;
                      &lt;status&gt;Valid&lt;/status&gt;
                      &lt;reason&gt;&lt;/reason&gt;
                  &lt;/xsl:when&gt;
                  &lt;xsl:otherwise&gt; 
                      &lt;validtedfield&gt;FileSenderNumber&lt;/validtedfield&gt;
                      &lt;value&gt;&lt;xsl:value-of select="cmn:FileSenderNumber"/&gt;&lt;/value&gt;
                      &lt;status&gt;Not Valid&lt;/status&gt;
                      &lt;reason&gt;FileSenderNumber should not be empty.&lt;/reason&gt;
                  &lt;/xsl:otherwise&gt;
              &lt;/xsl:choose&gt;
          &lt;/fieldvalidation&gt; 
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>current  output     </p>
  
  <pre><code>     &lt;?xml version="1.0" encoding="UTF-8"?&gt;
           &lt;validation xmlns="urn:tracelink:mapper:sl:serial_number_exchange" 
            xmlns:cmn="urn:tracelink:mapper:sl:commontypes"/&gt;
            &lt;validation xmlns="urn:tracelink:mapper:sl:serial_number_exchange" 
            xmlns:cmn="urn:tracelink:mapper:sl:commontypes"/&gt;
  </code></pre>
  
  <p>When i used without cmn namespace the xslt transformation working fine. Issues with cmn namespace.How will overcome this issue?  cmn namespace used in tags and without cmn namespace  header the transformation terminated .</p>