Created
June 5, 2017 23:22
-
-
Save DinoChiesa/6ecf0486c63784b8d3a09a0bffc6b182 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" | |
version="1.0"> | |
<xsl:output method="xml" | |
omit-xml-declaration="yes" | |
indent="yes"/> | |
<xsl:template match="@*|node()"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()"/> | |
</xsl:copy> | |
</xsl:template> | |
<xsl:template match="soap:Header"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()"/> | |
<!-- to be inserted into soap:Header tag --> | |
<ut:reqCode xmlns:ut="temp.org"> | |
<ut:reqInfo>information from request</ut:reqInfo> | |
</ut:reqCode> | |
</xsl:copy> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment