Skip to content

Commit

Permalink
Bugzilla 747: normalise ukfedlabel elements, or at least those that r…
Browse files Browse the repository at this point in the history
…emain at this stage in the pipeline, so that they all use the ukfedlabel prefix rather than defining the namespace themselves.
  • Loading branch information
iay committed Jun 18, 2010
1 parent f731de3 commit b275aeb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions build/uk_master_test.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,19 @@
</xsl:template>

<!--
Pass through certain ukfedlabel namespace elements.
Normalise and pass through certain ukfedlabel namespace elements.
-->
<xsl:template match="ukfedlabel:UKFederationMember |
ukfedlabel:AccountableUsers">
<xsl:copy>

<xsl:template match="ukfedlabel:UKFederationMember">
<xsl:element name="ukfedlabel:UKFederationMember">
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:element>
</xsl:template>

<xsl:template match="ukfedlabel:AccountableUsers">
<xsl:element name="ukfedlabel:AccountableUsers">
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>

<!--
Expand Down

0 comments on commit b275aeb

Please sign in to comment.