Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Remove block comments from generated metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed May 27, 2015
1 parent dd4ee6e commit 9806141
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions mdx/incommon/final_tweak.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
Document root.
-->
<xsl:template match="/">
<xsl:call-template name="document.comment"/>
<xsl:apply-templates/>
</xsl:template>

Expand All @@ -83,7 +82,6 @@
<xsl:value-of select="$documentID"/>
</xsl:attribute>
<xsl:apply-templates select="@*"/>
<xsl:call-template name="document.comment"/>

<!--
Add an Extensions element if there isn't one, but we need one
Expand All @@ -101,37 +99,6 @@
</EntitiesDescriptor>
</xsl:template>

<!--
Comment to be added to the top of the document, and just inside the document element.
-->
<xsl:template name="document.comment">
<xsl:text>&#10;</xsl:text>
<xsl:comment>
<xsl:text>&#10;&#9;I N C O M M O N F E D E R A T I O N M E T A D A T A&#10;</xsl:text>
<xsl:text>&#10;</xsl:text>
<xsl:if test="$extraText">
<xsl:text>&#9;*** </xsl:text>
<xsl:value-of select="$extraText"/>
<xsl:text> ***&#10;</xsl:text>
<xsl:text>&#10;</xsl:text>
</xsl:if>
<xsl:text>&#9;Aggregate built </xsl:text>
<xsl:value-of select="$normalisedNow"/>
<xsl:if test="string($normalisedNow) != string($now)">
<xsl:text> (</xsl:text>
<xsl:value-of select="$now"/>
<xsl:text> local)</xsl:text>
</xsl:if>
<xsl:text>&#10;</xsl:text>
<xsl:text>&#10;</xsl:text>
<xsl:text>&#9;Aggregate valid for </xsl:text>
<xsl:value-of select="$validityDays"/>
<xsl:text> days, until </xsl:text>
<xsl:value-of select="$validUntil"/>
<xsl:text>&#10;</xsl:text>
</xsl:comment>
</xsl:template>

<!--
Document element's Extensions.
Expand Down

0 comments on commit 9806141

Please sign in to comment.