Include extra index rec.id_raw
[irspy-moved-to-github.git] / zebra / zeerex2index.xsl
index e501ef7..0ea74da 100644 (file)
     <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"/>
    </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>
    <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>