Add sort-index for reliability.
authorMike Taylor <mike@miketaylor.org.uk>
Wed, 21 Jul 2010 08:40:46 +0000 (09:40 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Wed, 21 Jul 2010 08:40:46 +0000 (09:40 +0100)
Happily, this seems to sort numerically rather than lexicographically,
although as far as I can tell I've not put anything in the file to
indicate that that's what I wanted.

zebra/zeerex2index.xsl

index 0ea74da..15baa74 100644 (file)
@@ -77,6 +77,9 @@
    <z:index name="zeerex:reliability" type="n">
     <xsl:value-of select="e:serverInfo/e:reliability"/>
    </z:index>
+   <z:index name="zeerex:reliability" type="s">
+    <xsl:value-of select="e:serverInfo/e:reliability"/>
+   </z:index>
    <z:index name="dc:date" type="d">
     <xsl:value-of select="e:serverInfo/e:database/@lastUpdate"/>
    </z:index>