-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #551 from CDLUC3/develop
Develop
- Loading branch information
Showing
7 changed files
with
365 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- ========================================================================== | ||
transform an XML document by stripping the namespaces from element names and attributes | ||
=========================================================================== --> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
<xsl:output method="xml" indent="yes"/> | ||
|
||
<!-- Template for elements --> | ||
<xsl:template match="*"> | ||
<xsl:element name="{local-name()}" namespace="{namespace-uri()}"> | ||
<xsl:apply-templates select="@* | node()"/> | ||
</xsl:element> | ||
</xsl:template> | ||
|
||
<!-- Template for attributes --> | ||
<xsl:template match="@*"> | ||
<xsl:attribute name="{local-name()}" namespace="{namespace-uri()}"> | ||
<xsl:value-of select="."/> | ||
</xsl:attribute> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.