title: Need to remove <?xml version="1.0" encoding="utf-16"?> from the xml
body: <p>Hi i am generating a xml by appying the xsl to a xml input. I need the output without this part <code>"&lt;?xml version="1.0" encoding="utf-16"?&gt;"</code></p>
  
  <p>input--xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;soap:Body&gt;
  &lt;CreateResponse xmlns="http://jerseytelecom.com/"&gt;
      &lt;CreateResult&gt;
          &lt;ISD_XMLGateway&gt;
              &lt;Entity&gt;RIM_BPS&lt;/Entity&gt;
           &lt;/ISD_XMLGateway&gt;
      &lt;/CreateResult&gt;
     &lt;/CreateResponse&gt;
  &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt; 
  </code></pre>
  
  <p>my xsl</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:JT="http://jerseytelecom.com/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="JT"&gt;
           &lt;xsl:output method="xml" indent="yes"/&gt;
           &lt;xsl:template match="/"&gt;
             &lt;xsl:element name="Entity"&gt;
              &lt;xsl:value-of select="soap:Envelope/soap:Body/JT:CreateResponse/JT:CreateResult/JT:ISD_XMLGateway/JT:Entity"/&gt;  
              &lt;/xsl:element&gt;
              &lt;/xsl:template&gt;
              &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Current output</p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-16"?&gt;
      &lt;Entity&gt;RIM_BPS&lt;/Entity&gt;
  </code></pre>
  
  <p>Expected Output</p>
  
  <pre><code>    &lt;Entity&gt;RIM_BPS&lt;/Entity&gt;
  </code></pre>