Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/irspy
[irspy-moved-to-github.git] / zebra / zeerex2id.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 xmlns:e="http://explain.z3950.org/dtd/2.0/"
4                 version="1.0">
5  <xsl:output method="text" encoding="UTF-8" omit-xml-declaration="yes"/>
6  <xsl:template match="text()"/>
7  <xsl:template match="//e:explain">
8   <xsl:value-of select="concat(e:serverInfo/@protocol, ':',
9                                e:serverInfo/e:host, ':',
10                                e:serverInfo/e:port, '/',
11                                e:serverInfo/e:database)"/>
12  </xsl:template>
13 </xsl:stylesheet>