HSLE#50887 xml ook in bonnen (hidden) tbv flowmailer
svn path=/Website/branches/v2017.2/; revision=35981
This commit is contained in:
@@ -20,30 +20,10 @@
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="@*">
|
||||
<xsl:copy/>
|
||||
<xsl:template name="xmlhtml">
|
||||
<xsl:copy-of select="."/>
|
||||
</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>
</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>
</xsl:text>
|
||||
<xsl:value-of select="substring($indent,3)" />
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="pageheader">
|
||||
<div id="xmlcontent" style="display:none;">
|
||||
<xsl:call-template name="xmlhtml"/>
|
||||
|
||||
Reference in New Issue
Block a user