HSLE#50887 xml ook in bonnen (hidden) tbv flowmailer

svn path=/Website/branches/v2017.2/; revision=35981
This commit is contained in:
Ruud Lipper
2017-11-14 08:38:25 +00:00
parent f2377bfb32
commit 3920bb2274

View File

@@ -20,28 +20,8 @@
</xsl:element>
</xsl:template>
<xsl:template match="@*">
<xsl:copy/>
</xsl:template>
<xsl:template match="text()">
<xsl:value-of select="normalize-space(.)" />
</xsl:template>
<xsl:template name="xmlhtml">
<xsl:param name="indent" select="''"/>
<xsl:text>&#xa;</xsl:text>
<xsl:value-of select="$indent" />
<xsl:copy>
<xsl:apply-templates select="@*|*|text()">
<xsl:with-param name="indent" select="concat($indent, ' ')"/>
</xsl:apply-templates>
</xsl:copy>
<xsl:if test="count(../*)>0 and ../*[last()]=.">
<xsl:text>&#xa;</xsl:text>
<xsl:value-of select="substring($indent,3)" />
</xsl:if>
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template name="pageheader">