Created
March 27, 2018 18:24
-
-
Save RackerWilliams/7c7d39ceb4bd5c618300000a824f434e to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
exclude-result-prefixes="xs" | |
version="2.0"> | |
<xsl:template match="@* | node()"> | |
<xsl:copy> | |
<xsl:apply-templates select="@* | node()"/> | |
</xsl:copy> | |
</xsl:template> | |
<xsl:template match="atom:link/@href"> | |
<xsl:attribute name="href" | |
select="replace(.,'http://customer.test.ord1.us.ci.rackspace.net/','http://test.customer.api.rackspacecloud.com/')"/> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment