<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0">
+ <xsl:template match="*">
+ <pz:record>
+ <xsl:match-templates/>
+ </pz:record>
+ </xsl:template>
+
+ <xsl:template match="datafield[@tag='650']/subfield[@code='a']">
+ <pz:facet type="subject">
+ <xsl:value-of select="."/>
+ </pz:facet>
+ </xsl:template>
+
</xsl:stylesheet>
configuration.
-->
+<!-- thought... right now there is only one global 'service' in the code, but
+ it will be pretty simple to make this repeatable, and I think that should
+ be done at some point (this will eliminate most of the global parameters.
+ But it might be nice to have 'virtual' targets, so differrent sets of
+ configuration could live within one listener (on a single
+ port). -->
+
<service>
<listen port="9004"/>
<proxy host="localhost" port="80"/>
+
+ <termlist name="subject"/>
+ <termlist name="author"/>
+
+ <metadata name="title"/>
</service>
<!-- Need to figure out where to get ZeeRex records for targets from -->