1 <?xml version="1.0" encoding="UTF-8"?>
3 Converts JSTORs info:srw/schema/srw_jstor records to
8 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9 xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
10 xmlns:jstor="http://dfr.jstor.org/sru/elements/1.1">
12 <xsl:output indent="yes"
17 <xsl:template match="/*">
20 <xsl:for-each select="jstor:author">
21 <pz:metadata type="author">
22 <xsl:value-of select='.'/>
26 <!-- jstor:stringDate -->
28 <xsl:for-each select="jstor:year">
29 <xsl:if test='contains(.,"YEAR:")'>
30 <pz:metadata type="date">
31 <xsl:value-of select='substring-after(.,":")'/>
36 <xsl:for-each select="jstor:abstract">
37 <pz:metadata type="description">
38 <xsl:value-of select='.'/>
44 <xsl:for-each select="jstor:issn">
45 <pz:metadata type="issn">
46 <xsl:value-of select='.'/>
50 <!-- haven't seen this one, actually -->
51 <xsl:for-each select="jstor:isbn">
52 <pz:metadata type="isbn">
53 <xsl:value-of select='.'/>
59 <xsl:for-each select="jstor:publisher">
60 <pz:metadata type="publisher">
61 <xsl:value-of select='.'/>
65 <xsl:for-each select="jstor:topics">
66 <pz:metadata type="subject">
67 <xsl:value-of select='.'/>
71 <!-- jstor:disipline -->
73 <xsl:for-each select="jstor:title">
74 <pz:metadata type="title">
75 <xsl:value-of select='.'/>
79 <xsl:for-each select="jstor:journaltitle">
80 <pz:metadata type="journal-title">
81 <xsl:value-of select='.'/>
85 <xsl:for-each select="jstor:volume">
86 <pz:metadata type="volume-number">
87 <xsl:value-of select='.'/>
91 <xsl:for-each select="jstor:issue">
92 <pz:metadata type="issue-number">
93 <xsl:value-of select='.'/>
97 <!-- jstor:pagerange -->
99 <!-- jstor:resourcetype -->
106 <xsl:template match="text()"/>