Home » BizTalk ServerRSS

How to remove the header 'ns0' from the schema


I need to change the ns0 with SOAP how can i acheive that, or how can i include a SAOP header.




4 Answers Found


Answer 1


'ns0' is just a namespace prefix. If your the XML processing is done the right way it should not matter what prefix is used. This means 'ns0:element1' is the same as 'soap:element1' when the prefixes point to the same namespace in the namespace declaration.



Answer 2

Hi Randal,

you are right it shouldn't matter, but i need to change it with SOAP. Is there is any way for that.

Thanks in Advance,



Answer 3


A possibility would be to change this in code in a pipeline. But to be able to give a sound answer can elaborate a little more on your requirements, solution and why you need to change this?



Answer 4


You can remove the name space  prefix using custom XSLT in mapping. You can use  the  following XSLT.

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="no"/>

<xsl:template match="/|comment()|processing-instruction()">

<xsl:template match="*">
  <xsl:element name="{local-name()}">
   <xsl:apply-templates select="@*|node()"/>

<xsl:template match="@*">
  <xsl:attribute name="{local-name()}">
   <xsl:value-of select="."/>


<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter