1 <?xml version="1.0" encoding="UTF-8"?>
4 This stylesheet expects Connector Frameworks records
5 $Id: usco.xsl,v 1.3 2009-01-13 15:18:42 wosch Exp $
10 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
11 xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
12 xmlns:dc="http://purl.org/dc/elements/1.1/"
13 xmlns:siebel="http://loc.gov/siebel/elements/1.0/" >
15 <xsl:output indent="yes"
20 <xsl:template match="/record">
22 <xsl:attribute name="mergekey">
23 <xsl:text>title </xsl:text>
24 <xsl:value-of select="title" />
25 <xsl:text> author </xsl:text>
26 <xsl:value-of select="author"/>
28 <xsl:apply-templates/>
32 <xsl:template match="url">
33 <pz:metadata type="electronic-url">
34 <xsl:value-of select="."/>
38 <xsl:template match="author">
39 <pz:metadata type="author">
40 <xsl:value-of select="."/>
44 <xsl:template match="title">
45 <pz:metadata type="title">
46 <xsl:value-of select="."/>
50 <xsl:template match="date">
51 <pz:metadata type="publication-date">
52 <xsl:value-of select="."/>
56 <xsl:template match="description">
57 <pz:metadata type="description">
58 <xsl:value-of select="."/>
62 <xsl:template match="text()"/>