Project

General

Profile

« Previous | Next » 

Revision 61316

xslt for oai

View differences:

pmf2oaidc.xml
76 76
									
77 77
									<dc:type>
78 78
										<xsl:choose>
79
											<xsl:when test="$type = 'Conference object'">info:eu-repo/semantics/conferenceObject</xsl:when>
79
											<xsl:when test="$type = 'Conference article'">http://purl.org/coar/resource_type/c_5794</xsl:when>	
80
											<xsl:when test="$type = 'Journal article'">http://purl.org/coar/resource_type/c_6501</xsl:when>	
81
											<xsl:when test="$type = 'Report'">http://purl.org/coar/resource_type/c_93fc</xsl:when>	
82
											<xsl:when test="$type = 'Contribution to journal'">http://purl.org/coar/resource_type/c_3e5a</xsl:when>	
83
											<xsl:when test="$type = 'Contribution to conference'">http://purl.org/coar/resource_type/c_c94f</xsl:when>	
84
											<xsl:when test="$type = 'Book'">http://purl.org/coar/resource_type/c_2f33</xsl:when>	
85
											<xsl:when test="$type = 'Contribution to book'">http://purl.org/coar/resource_type/c_3248</xsl:when>	
86
											<xsl:when test="$type = 'Part of book or chapter of book'">http://purl.org/coar/resource_type/c_3248</xsl:when>	
87
											<xsl:when test="$type = 'Master thesis'">http://purl.org/coar/resource_type/c_bdcc</xsl:when>	
88
											<xsl:when test="$type = 'Bachelor thesis'">http://purl.org/coar/resource_type/c_7a1f</xsl:when>	
89
											<xsl:when test="$type = 'Doctoral thesis'">http://purl.org/coar/resource_type/c_db06</xsl:when>	
90
											<xsl:when test="$type = 'Patent'">http://purl.org/coar/resource_type/c_15cd</xsl:when>	
91
											<xsl:when test="$type = 'Software'">http://purl.org/coar/resource_type/c_5ce6</xsl:when>
92
											<xsl:when test="$type = 'Dataset'">http://purl.org/coar/resource_type/c_ddb1</xsl:when>	
93
											<xsl:when test="$type = 'Other'">http://purl.org/coar/resource_type/c_1843</xsl:when>	
94
											<xsl:otherwise>http://purl.org/coar/resource_type/c_1843</xsl:otherwise>
95
										</xsl:choose> 
96
									</dc:type>
97
									<dc:type>
98
										<xsl:choose>
99
											<xsl:when test="$type = 'Conference article'">info:eu-repo/semantics/article</xsl:when>
100
											<xsl:when test="$type = 'Journal article'">info:eu-repo/semantics/article</xsl:when>
80 101
											<xsl:when test="$type = 'Report'">info:eu-repo/semantics/report</xsl:when>
81
											<xsl:when test="$type = 'Article'">info:eu-repo/semantics/article</xsl:when>
82
											<xsl:when test="$type = 'Other'">info:eu-repo/semantics/other</xsl:when>
102
											<xsl:when test="$type = 'Contribution to journal'">info:eu-repo/semantics/contributionToPeriodical</xsl:when>
103
											<xsl:when test="$type = 'Contribution to conference'">info:eu-repo/semantics/conferenceObject</xsl:when>
104
											<xsl:when test="$type = 'Book'">info:eu-repo/semantics/book</xsl:when>
105
											<xsl:when test="$type = 'Contribution to book'">info:eu-repo/semantics/bookPart</xsl:when>
83 106
											<xsl:when test="$type = 'Part of book or chapter of book'">info:eu-repo/semantics/bookPart</xsl:when>
84
											<xsl:when test="$type = 'Book'">info:eu-repo/semantics/book</xsl:when>
107
											<xsl:when test="$type = 'Master thesis'">info:eu-repo/semantics/masterThesis</xsl:when>
85 108
											<xsl:when test="$type = 'Bachelor thesis'">info:eu-repo/semantics/bachelorThesis</xsl:when>
86 109
											<xsl:when test="$type = 'Doctoral thesis'">info:eu-repo/semantics/doctoralThesis</xsl:when>
87 110
											<xsl:when test="$type = 'Patent'">info:eu-repo/semantics/patent</xsl:when>
88
											<xsl:when test="$type = 'Master thesis'">info:eu-repo/semantics/masterThesis</xsl:when>
111
											<xsl:when test="$type = 'Software'">info:eu-repo/semantics/other</xsl:when>
112
											<xsl:when test="$type = 'Dataset'">info:eu-repo/semantics/other</xsl:when>
113
											<xsl:when test="$type = 'Other'">info:eu-repo/semantics/other</xsl:when>
89 114
											<xsl:otherwise>info:eu-repo/semantics/other</xsl:otherwise>
90 115
										</xsl:choose> 
91 116
									</dc:type>

Also available in: Unified diff