Support for zeerex:index
authorMike Taylor <mike@indexdata.com>
Thu, 16 Apr 2009 15:28:26 +0000 (15:28 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 16 Apr 2009 15:28:26 +0000 (15:28 +0000)
zebra/zeerex2index.xsl

index 9a9615e..76618cf 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: zeerex2index.xsl,v 1.14 2007-04-27 14:04:40 mike Exp $ -->
+<!-- $Id: zeerex2index.xsl,v 1.15 2009-04-16 15:28:26 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"
     <xsl:value-of select="e:metaInfo/e:dateModified"/>
    </z:index>
 
-   <!-- ### indexInfo -->
+   <!-- indexInfo -->
+   <xsl:for-each select="e:indexInfo/e:index/e:map/e:attr">
+    <z:index name="zeerex:index" type="w">
+     <xsl:value-of select="."/>
+    </z:index>
+   </xsl:for-each>
 
    <!-- recordInfo -->
    <z:index name="zeerex:recordSyntax" type="0">