summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-06-22 22:43:31 +0200
committerLeif Johansson <leifj@sunet.se>2015-06-22 22:43:31 +0200
commit88a7881817baad8ba3687a5a346a0dfc1a3d6a8b (patch)
tree6f8e00dd102ce09fa0f54c70038e62b2c603e1d1 /xslt
parent3785da71e795b6788ee8349cd1138489b8272be6 (diff)
normalize URLs with querystrings
Diffstat (limited to 'xslt')
-rw-r--r--xslt/import-metadata.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/import-metadata.xsl b/xslt/import-metadata.xsl
index f67d1921..8d68a425 100644
--- a/xslt/import-metadata.xsl
+++ b/xslt/import-metadata.xsl
@@ -21,7 +21,7 @@
<!-- xsl:param name="output"/ -->
<xsl:variable name="uri"><xsl:value-of select="substring-after(@entityID,'://')"/></xsl:variable>
<xsl:variable name="host">
- <xsl:value-of select="translate($uri,'/','-')"/>
+ <xsl:value-of select="translate($uri,'/?=','---')"/>
</xsl:variable>
<xsl:variable name="file" select="concat($output,'/',$host,'.xml')"/>
<exsl:document method="xml" indent="yes" href="{$file}">