Skip to content

Commit

Permalink
Remove the (now redundant) "do not edit" comment from the top of the …
Browse files Browse the repository at this point in the history
…output document. Include a build date/time stamp for the document in the remaining comment.
  • Loading branch information
iay committed Nov 12, 2008
1 parent a633294 commit 44b7ec5
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions build/master_ukfederation.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,22 @@
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:uklabel="http://ukfederation.org.uk/2006/11/label"
xmlns:members="http://ukfederation.org.uk/2007/01/members"
xmlns:date="http://exslt.org/dates-and-times"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
exclude-result-prefixes="wayf members">

<!--
Version information for this file. Remember to peel off the dollar signs
before dropping the text into another versioned file.
-->
<xsl:param name="cvsId">$Id$</xsl:param>
<xsl:variable name="now" select="date:date-time()"/>

<!--
Add a comment to the start of the output file.
-->
<xsl:template match="/">
<xsl:comment>
<xsl:text>&#10;&#9;***DO NOT EDIT THIS FILE***&#10;&#10;</xsl:text>
<xsl:text>&#9;Generated by:&#10;&#10;&#9;</xsl:text>
<xsl:value-of select="substring-before(substring-after($cvsId, ': '), '$')"/>
<xsl:text>&#10;</xsl:text>
</xsl:comment>
<xsl:comment>
<xsl:text>&#10;&#9;U K 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:text>&#9;Aggregate built </xsl:text>
<xsl:value-of select="$now"/>
<xsl:text>&#10;</xsl:text>
</xsl:comment>
<xsl:apply-templates/>
</xsl:template>
Expand Down

0 comments on commit 44b7ec5

Please sign in to comment.