diff options
author | Leif Johansson <leifj@sunet.se> | 2015-06-22 22:43:31 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-06-22 22:43:31 +0200 |
commit | 88a7881817baad8ba3687a5a346a0dfc1a3d6a8b (patch) | |
tree | 6f8e00dd102ce09fa0f54c70038e62b2c603e1d1 | |
parent | 3785da71e795b6788ee8349cd1138489b8272be6 (diff) |
normalize URLs with querystrings
-rw-r--r-- | xslt/import-metadata.xsl | 2 |
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}"> |