New -- does not yet do what I want, which is just to get an ID with no
authorMike Taylor <mike@indexdata.com>
Wed, 24 May 2006 16:17:12 +0000 (16:17 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 24 May 2006 16:17:12 +0000 (16:17 +0000)
XML declaration.

zebra/zeerex2id.xsl [new file with mode: 0644]

diff --git a/zebra/zeerex2id.xsl b/zebra/zeerex2id.xsl
new file mode 100644 (file)
index 0000000..24b7e24
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: zeerex2id.xsl,v 1.1 2006-05-24 16:17:12 mike Exp $ -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:e="http://explain.z3950.org/dtd/2.0/"
+                version="1.0">
+ <xsl:output method="text" encoding="UTF-8" omit-xml-declaration="yes"/>
+ <xsl:template match="text()"/>
+ <xsl:template match="//e:explain">
+  <xsl:value-of select="concat(e:serverInfo/e:host, ':',
+                               e:serverInfo/e:port, '/',
+                               e:serverInfo/e:database)"/>
+ </xsl:template>
+</xsl:stylesheet>