Turned off namespace copying

This commit is contained in:
skyanth 2019-05-29 16:38:34 +02:00
parent ea4634637b
commit b0dfb8fff7
6 changed files with 17 additions and 17 deletions

View File

@ -31,7 +31,7 @@
<xsl:element name="xi:include"> <xsl:element name="xi:include">
<xsl:attribute name="href">snippets/company_info.xml</xsl:attribute> <xsl:attribute name="href">snippets/company_info.xml</xsl:attribute>
</xsl:element> </xsl:element>
<xsl:copy-of select="contract_info/company/following-sibling::node()"/> <xsl:copy-of select="contract_info/company/following-sibling::node()" copy-namespaces="no"/>
</meta> </meta>

View File

@ -71,8 +71,8 @@
</permission_parties> </permission_parties>
<activityinfo> <activityinfo>
<xsl:for-each select="//activityinfo/*"> <xsl:for-each select="//activityinfo/*">
<xsl:copy> <xsl:copy copy-namespaces="no">
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</xsl:copy> </xsl:copy>
</xsl:for-each> </xsl:for-each>
</activityinfo> </activityinfo>

View File

@ -16,16 +16,16 @@
<targets> <targets>
<xsl:comment>one target element per target</xsl:comment> <xsl:comment>one target element per target</xsl:comment>
<xsl:for-each select="/*/meta/targets/target"> <xsl:for-each select="/*/meta/targets/target">
<xsl:copy> <xsl:copy copy-namespaces="no">
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</xsl:copy> </xsl:copy>
</xsl:for-each> </xsl:for-each>
</targets> </targets>
<activityinfo> <activityinfo>
<xsl:for-each select="/offerte/meta/activityinfo/*"> <xsl:for-each select="/offerte/meta/activityinfo/*">
<xsl:if test="not(self::fee)"> <xsl:if test="not(self::fee)">
<xsl:copy> <xsl:copy copy-namespaces="no">
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</xsl:copy> </xsl:copy>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
@ -35,8 +35,8 @@
<xsl:attribute name="href">client_info.xml</xsl:attribute> <xsl:attribute name="href">client_info.xml</xsl:attribute>
</xsl:element> </xsl:element>
<xsl:for-each select="/offerte/meta/permission_parties/party"> <xsl:for-each select="/offerte/meta/permission_parties/party">
<xsl:copy> <xsl:copy copy-namespaces="no">
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</xsl:copy> </xsl:copy>
</xsl:for-each> </xsl:for-each>
</permission_parties> </permission_parties>

View File

@ -166,12 +166,12 @@
</xsl:for-each> </xsl:for-each>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:copy-of select="$sortedPieTable"/> <xsl:copy-of select="$sortedPieTable" copy-namespaces="no"/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:variable name="pieTable"> <xsl:variable name="pieTable">
<xsl:copy-of select="$pieTable_thresholdApplied"/> <xsl:copy-of select="$pieTable_thresholdApplied" copy-namespaces="no"/>
<xsl:if test="$threshold &gt; 1"> <xsl:if test="$threshold &gt; 1">
<pieEntry> <pieEntry>
<pieEntryLabel> <pieEntryLabel>

View File

@ -70,8 +70,8 @@
<!-- copy targets from quickscope --> <!-- copy targets from quickscope -->
<xsl:comment>one target element per target</xsl:comment> <xsl:comment>one target element per target</xsl:comment>
<xsl:for-each select="//targets/target"> <xsl:for-each select="//targets/target">
<xsl:copy> <xsl:copy copy-namespaces="no">
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</xsl:copy> </xsl:copy>
</xsl:for-each> </xsl:for-each>
</targets> </targets>
@ -82,7 +82,7 @@
</xsl:element> </xsl:element>
<xsl:for-each select="/*/third_party"> <xsl:for-each select="/*/third_party">
<party> <party>
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</party> </party>
</xsl:for-each> </xsl:for-each>
</permission_parties> </permission_parties>

View File

@ -59,8 +59,8 @@
<!-- copy targets from quickscope --> <!-- copy targets from quickscope -->
<xsl:comment>one target element per target</xsl:comment> <xsl:comment>one target element per target</xsl:comment>
<xsl:for-each select="/*/meta/targets/target"> <xsl:for-each select="/*/meta/targets/target">
<xsl:copy> <xsl:copy copy-namespaces="no">
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</xsl:copy> </xsl:copy>
</xsl:for-each> </xsl:for-each>
</targets> </targets>
@ -72,7 +72,7 @@
<xsl:for-each select="//permission_parties/party"> <xsl:for-each select="//permission_parties/party">
<!-- TODO add to report --> <!-- TODO add to report -->
<party> <party>
<xsl:copy-of select="node()"/> <xsl:copy-of select="node()" copy-namespaces="no"/>
</party> </party>
</xsl:for-each> </xsl:for-each>
</permission_parties> </permission_parties>