Aşağıdaki XSLT kodu SOAP1.1 namespace'ine sahip olan XML'i SOAP1.2 namespace'ine sahip XML'e dönüştürür.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope" >
<xsl:output method="xml" indent="no"/>
<xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template>
<xsl:template match="soap11:Envelope"><soap:Envelope><xsl:apply-templates select="node()"/></soap:Envelope></xsl:template>
<xsl:template match="soap11:Header"><soap:Header><xsl:apply-templates select="node()"/></soap:Header></xsl:template>
<xsl:template match="soap11:Body"><soap:Body><xsl:apply-templates select="node()"/></soap:Body></xsl:template>
</xsl:stylesheet>
CODE