<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: zeerex2index.xsl,v 1.4 2006-09-19 16:24:59 mike Exp $ -->
+<!-- $Id: zeerex2index.xsl,v 1.6 2006-10-06 11:07:11 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"
xmlns:e="http://explain.z3950.org/dtd/2.0/"
version="1.0">
<xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
- <!-- disable all default text node output -->
+ <!-- Disable all default text node output -->
<xsl:template match="text()"/>
- <!-- match on alvis xml record -->
+ <!-- Match on ZeeRex XML record -->
<xsl:template match="//e:explain">
<z:record id="{concat(
e:serverInfo/e:host, ':',
<z:index name="net:port" type="s">
<xsl:value-of select="e:serverInfo/e:port"/>
</z:index>
- <z:index name="net:path" type="w"><!-- "w" for case-insensitivity -->
+ <z:index name="net:path" type="0">
<xsl:value-of select="e:serverInfo/e:database"/>
</z:index>
<z:index name="net:path" type="s">