1 <?xml version="1.0" encoding="UTF-8"?>
3 This stylesheet expects Connector Frameworks records
7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
9 xmlns:dc="http://purl.org/dc/elements/1.1/"
10 xmlns:siebel="http://loc.gov/siebel/elements/1.0/" >
12 <xsl:output indent="yes"
17 <xsl:template match="/record">
19 <xsl:attribute name="mergekey">
20 <xsl:text>title </xsl:text>
21 <xsl:value-of select="title" />
22 <xsl:text> author </xsl:text>
23 <xsl:value-of select="author"/>
25 <xsl:apply-templates/>
29 <xsl:template match="url">
30 <pz:metadata type="electronic-url">
31 <xsl:value-of select="."/>
35 <xsl:template match="author">
36 <pz:metadata type="author">
37 <xsl:value-of select="."/>
41 <xsl:template match="title">
42 <pz:metadata type="title">
43 <xsl:value-of select="."/>
47 <xsl:template match="date">
48 <pz:metadata type="publication-date">
49 <xsl:value-of select="."/>
53 <xsl:template match="description">
54 <pz:metadata type="description">
55 <xsl:value-of select="."/>
59 <xsl:template match="subject">
60 <pz:metadata type="subject">
61 <xsl:value-of select="."/>
65 <xsl:template match="text()"/>