Append
[irspy-moved-to-github.git] / zebra / zeerex2id.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- $Id: zeerex2id.xsl,v 1.2 2007-04-27 14:04:40 mike Exp $ -->
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4                 xmlns:e="http://explain.z3950.org/dtd/2.0/"
5                 version="1.0">
6  <xsl:output method="text" encoding="UTF-8" omit-xml-declaration="yes"/>
7  <xsl:template match="text()"/>
8  <xsl:template match="//e:explain">
9   <xsl:value-of select="concat(e:serverInfo/@protocol, ':',
10                                e:serverInfo/e:host, ':',
11                                e:serverInfo/e:port, '/',
12                                e:serverInfo/e:database)"/>
13  </xsl:template>
14 </xsl:stylesheet>