projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo in Explain test.
[irspy-moved-to-github.git]
/
zebra
/
zeerex2index.xsl
diff --git
a/zebra/zeerex2index.xsl
b/zebra/zeerex2index.xsl
index
76618cf
..
15baa74
100644
(file)
--- a/
zebra/zeerex2index.xsl
+++ b/
zebra/zeerex2index.xsl
@@
-1,5
+1,4
@@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: zeerex2index.xsl,v 1.15 2009-04-16 15:28:26 mike Exp $ -->
<!-- See the ZeeRex profile at http://srw.cheshire3.org/profiles/ZeeRex/ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:z="http://indexdata.dk/zebra/xslt/1"
<!-- See the ZeeRex profile at http://srw.cheshire3.org/profiles/ZeeRex/ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:z="http://indexdata.dk/zebra/xslt/1"
@@
-43,6
+42,10
@@
<xsl:value-of select="$id"/>
</z:index>
<xsl:value-of select="$id"/>
</z:index>
+ <z:index name="rec:id_raw" type="0">
+ <xsl:value-of select="$id"/>
+ </z:index>
+
<!-- serverInfo -->
<z:index name="net:protocol" type="w">
<xsl:value-of select="e:serverInfo/@protocol"/>
<!-- serverInfo -->
<z:index name="net:protocol" type="w">
<xsl:value-of select="e:serverInfo/@protocol"/>
@@
-71,6
+74,12
@@
<z:index name="net:path" type="s">
<xsl:value-of select="e:serverInfo/e:database"/>
</z:index>
<z:index name="net:path" type="s">
<xsl:value-of select="e:serverInfo/e:database"/>
</z:index>
+ <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>
<z:index name="dc:date" type="d">
<xsl:value-of select="e:serverInfo/e:database/@lastUpdate"/>
</z:index>
@@
-112,7
+121,7
@@
</xsl:for-each>
<!-- recordInfo -->
</xsl:for-each>
<!-- recordInfo -->
- <z:index name="zeerex:recordSyntax" type="0">
+ <z:index name="zeerex:recordSyntax" type="w">
<xsl:value-of select="e:recordInfo/e:recordSyntax/@name"/>
<!-- ### But @identifier is an OID for Z39.50 -->
</z:index>
<xsl:value-of select="e:recordInfo/e:recordSyntax/@name"/>
<!-- ### But @identifier is an OID for Z39.50 -->
</z:index>
@@
-148,6
+157,9
@@
<z:index name="zeerex:country" type="0">
<xsl:value-of select="i:status/i:country"/>
</z:index>
<z:index name="zeerex:country" type="0">
<xsl:value-of select="i:status/i:country"/>
</z:index>
+ <z:index name="zeerex:disabled" type="0">
+ <xsl:value-of select="i:status/i:disabled"/>
+ </z:index>
</z:record>
</xsl:template>
</z:record>
</xsl:template>