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

Commit

Permalink
Normalise xenc namespace prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Aug 25, 2014
1 parent 78abffd commit 0e210b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mdx/ns_norm.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
xmlns:shibmd="urn:mace:shibboleth:metadata:1.0"
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"

exclude-result-prefixes="md"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down Expand Up @@ -184,6 +185,12 @@
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>

<xsl:template match="xenc:*">
<xsl:element name="xenc:{local-name()}">
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>


<!--
Expand Down

0 comments on commit 0e210b7

Please sign in to comment.