Project

General

Profile

« Previous | Next » 

Revision 50997

Move rdf namespaces in rdf:RDF element (https://support.d4science.org/issues/11324)

View differences:

modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/parthenos/index/parthenosLayoutToRecordStylesheet.xsl
14 14

  
15 15
	<xsl:template match="LAYOUT">
16 16
		<nxsl:stylesheet version="2.0"
17
		    xmlns:oai="http://www.openarchives.org/OAI/2.0/"
17
		    xmlns="http://www.openarchives.org/OAI/2.0/"
18 18
			xmlns:dri="http://www.driver-repository.eu/namespace/dri"
19 19
			xmlns:dc="http://purl.org/dc/elements/1.1/"
20 20
			xmlns:crm="http://www.cidoc-crm.org/cidoc-crm/"
21 21
			xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
22 22
			xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
23 23
			xmlns:foaf="http://xmlns.com/foaf/0.1/"
24
			xmlns:crmpe="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/">
24
			xmlns:crmpe="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"
25
			exclude-result-prefixes="dc crm rdf rdfs foaf crmpe">
25 26

  
26 27
			<nxsl:output version="1.0" omit-xml-declaration="yes" method="xml" encoding="UTF8" />
27 28

  
......
111 112

  
112 113
	<xsl:template match="FIELD" mode="result">
113 114
		<xsl:if test="@result='true'">
114
			<nxsl:copy-of select="{@xpath}" />
115
			<nxsl:copy-of select="{@xpath}"/>
115 116
		</xsl:if>
116 117
	</xsl:template>
117 118

  
118 119
	<xsl:template match="FIELD" mode="header">
119 120
		<xsl:if test="@header='true'">
120
			<nxsl:copy-of select="{@xpath}" />
121
			<nxsl:copy-of select="{@xpath}"/>
121 122
		</xsl:if>
122 123
	</xsl:template>
123 124

  

Also available in: Unified diff