Revision 44551
Added by Claudio Atzori over 7 years ago
oaf2hbase.xml | ||
---|---|---|
14 | 14 |
<SCRIPT> |
15 | 15 |
<TITLE>xslt_mapping_oaf2hbase</TITLE> |
16 | 16 |
<CODE> |
17 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
18 |
xmlns:oaf="http://namespace.openaire.eu/oaf" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
19 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" xmlns:dr="http://www.driver-repository.eu/namespace/dr"
|
|
20 |
xmlns:dnet="eu.dnetlib.data.transform.xml.OafToHbaseXsltFunctions"
|
|
21 |
xmlns:exslt="http://exslt.org/common"
|
|
22 |
version="1.0" extension-element-prefixes="exslt"
|
|
23 |
exclude-result-prefixes="xsl oaf dr dri dnet exslt">
|
|
17 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
18 |
xmlns:oaf="http://namespace.openaire.eu/oaf" xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
19 |
xmlns:dri="http://www.driver-repository.eu/namespace/dri" xmlns:dr="http://www.driver-repository.eu/namespace/dr" |
|
20 |
xmlns:dnet="eu.dnetlib.data.transform.xml.OafToHbaseXsltFunctions" |
|
21 |
xmlns:exslt="http://exslt.org/common" |
|
22 |
version="1.0" extension-element-prefixes="exslt" |
|
23 |
exclude-result-prefixes="xsl oaf dr dri dnet exslt"> |
|
24 | 24 |
|
25 |
<xsl:output omit-xml-declaration="yes" indent="yes"/>
|
|
25 |
<xsl:output omit-xml-declaration="yes" indent="yes"/> |
|
26 | 26 |
|
27 |
<xsl:param name="writeCoAuthors" select="false()"/>
|
|
27 |
<xsl:param name="writeCoAuthors" select="false()"/> |
|
28 | 28 |
|
29 |
<xsl:template match="/*"> |
|
30 |
<xsl:variable name="about" select="/*[local-name() = 'record']/*[local-name() = 'about']"/> |
|
31 |
<xsl:variable name="dateofcollection" select="/*[local-name() = 'record']/*[local-name() = 'header']/*[local-name()='dateOfCollection' and text()][1]"/> |
|
32 |
<xsl:variable name="dateoftransformation" select="/*[local-name() = 'record']/*[local-name() = 'header']/*[local-name()='dateOfTransformation' and text()][1]"/> |
|
29 |
<xsl:param name="trust" select="string('0.9')"/> |
|
30 |
<xsl:param name="provenance" select="string('sysimport:crosswalk:repository')"/> |
|
33 | 31 |
|
34 |
<xsl:variable name="trust" select="string('0.9')"/> |
|
35 |
<xsl:variable name="provenance" select="string('sysimport:crosswalk:repository')"/> |
|
32 |
<xsl:template match="/*"> |
|
33 |
<xsl:variable name="about" select="/*[local-name() = 'record']/*[local-name() = 'about']"/> |
|
34 |
<xsl:variable name="dateofcollection" select="/*[local-name() = 'record']/*[local-name() = 'header']/*[local-name()='dateOfCollection' and text()][1]"/> |
|
35 |
<xsl:variable name="dateoftransformation" select="/*[local-name() = 'record']/*[local-name() = 'header']/*[local-name()='dateOfTransformation' and text()][1]"/> |
|
36 |
<xsl:variable name="metadata" select="exslt:node-set(/*[local-name() = 'record']/*[local-name()='metadata']/*)"/> |
|
37 |
<xsl:variable name="namespaceprefix"> |
|
38 |
<xsl:choose> |
|
36 | 39 |
|
37 |
<xsl:variable name="metadata" select="exslt:node-set(/*[local-name() = 'record']/*[local-name()='metadata']/*)"/> |
|
38 |
<xsl:variable name="namespaceprefix"> |
|
39 |
<xsl:choose> |
|
40 |
<!-- TODO check namespaceprefix length is 12 --> |
|
41 |
<xsl:when test="string-length(//oaf:datasourceprefix) > 0"> |
|
42 |
<xsl:value-of select="//oaf:datasourceprefix"/> |
|
43 |
</xsl:when> |
|
44 |
<xsl:otherwise> |
|
45 |
<xsl:value-of select="unknown_"/> |
|
46 |
</xsl:otherwise> |
|
47 |
</xsl:choose> |
|
48 |
</xsl:variable> |
|
40 | 49 |
|
41 |
<!-- TODO check namespaceprefix length is 12 --> |
|
42 |
<xsl:when test="string-length(//oaf:datasourceprefix) > 0"> |
|
43 |
<xsl:value-of select="//oaf:datasourceprefix"/> |
|
44 |
</xsl:when> |
|
45 |
<xsl:otherwise> |
|
46 |
<xsl:value-of select="unknown_"/> |
|
47 |
</xsl:otherwise> |
|
48 |
</xsl:choose> |
|
49 |
</xsl:variable> |
|
50 |
<xsl:choose> |
|
51 |
<!-- <xsl:when test="count($metadata) = 0 or string-length($namespaceprefix) = 0"> --> |
|
52 |
<xsl:when test="count($metadata) = 0"> |
|
53 |
<ROWS/> |
|
54 |
</xsl:when> |
|
55 |
<xsl:otherwise> |
|
50 | 56 |
|
51 |
<xsl:choose> |
|
52 |
<!-- <xsl:when test="count($metadata) = 0 or string-length($namespaceprefix) = 0"> --> |
|
53 |
<xsl:when test="count($metadata) = 0"> |
|
54 |
<ROWS/> |
|
55 |
</xsl:when> |
|
56 |
<xsl:otherwise> |
|
57 |
<xsl:variable name="objIdentifier" select="//dri:objIdentifier"/> |
|
58 |
<xsl:variable name="resultId" select="dnet:oafSimpleId('result', //dri:objIdentifier)"/> |
|
57 | 59 |
|
58 |
<xsl:variable name="objIdentifier" select="//dri:objIdentifier"/> |
|
59 |
<xsl:variable name="resultId" select="dnet:oafSimpleId('result', //dri:objIdentifier)"/> |
|
60 |
<xsl:if test="string-length($resultId) > 0"> |
|
60 | 61 |
|
61 |
<xsl:if test="string-length($resultId) > 0"> |
|
62 |
<xsl:variable name="collectedfromid" select="dnet:oafSplitId('datasource', //oaf:collectedFrom/@id)"/> |
|
63 |
<xsl:variable name="collectedfromname" select="//oaf:collectedFrom/@name"/> |
|
62 | 64 |
|
63 |
<xsl:variable name="collectedfromid" select="dnet:oafSplitId('datasource', //oaf:collectedFrom/@id)"/>
|
|
64 |
<xsl:variable name="collectedfromname" select="//oaf:collectedFrom/@name"/>
|
|
65 |
<xsl:variable name="hostedbyid" select="dnet:oafSplitId('datasource', //oaf:hostedBy/@id)"/>
|
|
66 |
<xsl:variable name="hostedbyname" select="//oaf:hostedBy/@name"/>
|
|
65 | 67 |
|
66 |
<xsl:variable name="hostedbyid" select="dnet:oafSplitId('datasource', //oaf:hostedBy/@id)"/> |
|
67 |
<xsl:variable name="hostedbyname" select="//oaf:hostedBy/@name"/> |
|
68 |
<xsl:variable name="originalidTest" select="/*[local-name()='record']/*[local-name() = 'header']/*[local-name() = 'recordIdentifier']"/> |
|
69 |
<xsl:variable name="originalid"> |
|
70 |
<xsl:choose> |
|
71 |
<xsl:when test="contains($originalidTest, '::')"> |
|
72 |
<xsl:value-of select="substring-after($originalidTest, '::')"/> |
|
73 |
</xsl:when> |
|
74 |
<xsl:otherwise> |
|
75 |
<xsl:value-of select="$originalidTest"/> |
|
76 |
</xsl:otherwise> |
|
77 |
</xsl:choose> |
|
78 |
</xsl:variable> |
|
68 | 79 |
|
69 |
<xsl:variable name="originalidTest" select="/*[local-name()='record']/*[local-name() = 'header']/*[local-name() = 'recordIdentifier']"/> |
|
70 |
<xsl:variable name="originalid"> |
|
71 |
<xsl:choose> |
|
72 |
<xsl:when test="contains($originalidTest, '::')"> |
|
73 |
<xsl:value-of select="substring-after($originalidTest, '::')"/> |
|
74 |
</xsl:when> |
|
75 |
<xsl:otherwise> |
|
76 |
<xsl:value-of select="$originalidTest"/> |
|
77 |
</xsl:otherwise> |
|
78 |
</xsl:choose> |
|
79 |
</xsl:variable> |
|
80 |
<xsl:variable name="result" |
|
81 |
select="dnet:oafResult($resultId, $provenance, $trust, $about, $hostedbyid, $hostedbyname, $collectedfromid, |
|
82 |
$collectedfromname, $originalid, $dateofcollection, $dateoftransformation, $metadata)"/> |
|
80 | 83 |
|
81 |
<xsl:variable name="result" |
|
82 |
select="dnet:oafResult($resultId, $provenance, $trust, $about, $hostedbyid, $hostedbyname, $collectedfromid, |
|
83 |
$collectedfromname, $originalid, $dateofcollection, $dateoftransformation, $metadata)"/> |
|
84 |
<ROWS> |
|
85 |
<ROW key="{$resultId}" columnFamily="result"> |
|
86 |
<QUALIFIER name="body" type="base64"> |
|
87 |
<xsl:value-of select="$result"/> |
|
88 |
</QUALIFIER> |
|
89 |
</ROW> |
|
84 | 90 |
|
85 |
<ROWS> |
|
86 |
<ROW key="{$resultId}" columnFamily="result"> |
|
87 |
<QUALIFIER name="body" type="base64"> |
|
88 |
<xsl:value-of select="$result"/> |
|
89 |
</QUALIFIER> |
|
90 |
</ROW> |
|
91 |
<xsl:for-each select="//*[local-name()='projectid']"> |
|
91 | 92 |
|
92 |
<xsl:for-each select="//*[local-name()='projectid']">
|
|
93 |
<xsl:variable name="projectId" select="dnet:oafSplitId('project', normalize-space(.))"/>
|
|
93 | 94 |
|
94 |
<xsl:variable name="projectId" select="dnet:oafSplitId('project', normalize-space(.))"/>
|
|
95 |
<xsl:if test="string-length($projectId) > 0">
|
|
95 | 96 |
|
96 |
<xsl:if test="string-length($projectId) > 0"> |
|
97 |
<xsl:variable name="resultproject" |
|
98 |
select="dnet:rel($resultId, $projectId, 'resultProject', 'outcome', 'isProducedBy', |
|
99 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
100 |
<xsl:variable name="projectresult" |
|
101 |
select="dnet:rel($projectId, $resultId, 'resultProject', 'outcome', 'produces', |
|
102 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
97 | 103 |
|
98 |
<xsl:variable name="resultproject" |
|
99 |
select="dnet:rel($resultId, $projectId, 'resultProject', 'outcome', 'isProducedBy', |
|
100 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
101 |
<xsl:variable name="projectresult" |
|
102 |
select="dnet:rel($projectId, $resultId, 'resultProject', 'outcome', 'produces', |
|
103 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
104 |
<ROW key="{$resultId}" columnFamily="resultProject_outcome_isProducedBy"> |
|
105 |
<QUALIFIER name="{$projectId}" type="base64"> |
|
106 |
<xsl:value-of select="$resultproject"/> |
|
107 |
</QUALIFIER> |
|
108 |
</ROW> |
|
109 |
<ROW key="{$projectId}" columnFamily="resultProject_outcome_produces"> |
|
110 |
<QUALIFIER name="{$resultId}" type="base64"> |
|
111 |
<xsl:value-of select="$projectresult"/> |
|
112 |
</QUALIFIER> |
|
113 |
</ROW> |
|
114 |
</xsl:if> |
|
115 |
</xsl:for-each> |
|
104 | 116 |
|
105 |
<ROW key="{$resultId}" columnFamily="resultProject_outcome_isProducedBy"> |
|
106 |
<QUALIFIER name="{$projectId}" type="base64"> |
|
107 |
<xsl:value-of select="$resultproject"/> |
|
108 |
</QUALIFIER> |
|
109 |
</ROW> |
|
110 |
<ROW key="{$projectId}" columnFamily="resultProject_outcome_produces"> |
|
111 |
<QUALIFIER name="{$resultId}" type="base64"> |
|
112 |
<xsl:value-of select="$projectresult"/> |
|
113 |
</QUALIFIER> |
|
114 |
</ROW> |
|
115 |
</xsl:if> |
|
116 |
</xsl:for-each> |
|
117 |
<xsl:for-each select="//*[local-name()='relatedDataset']"> |
|
117 | 118 |
|
118 |
<xsl:for-each select="//*[local-name()='relatedDataset']"> |
|
119 |
<!-- relatedDataset ids must be in the openaire format --> |
|
120 |
<xsl:variable name="datasetId" select="dnet:oafSimpleId('result', normalize-space(./@id))"/> |
|
119 | 121 |
|
120 |
<!-- relatedDataset ids must be in the openaire format --> |
|
121 |
<xsl:variable name="datasetId" select="dnet:oafSimpleId('result', normalize-space(./@id))"/> |
|
122 |
<xsl:if test="string-length($datasetId) > 0"> |
|
122 | 123 |
|
123 |
<xsl:if test="string-length($datasetId) > 0"> |
|
124 |
<xsl:variable name="resultDataset" |
|
125 |
select="dnet:rel($resultId, $datasetId, 'resultResult', 'publicationDataset', 'isRelatedTo', |
|
126 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
127 |
<xsl:variable name="datasetResult" |
|
128 |
select="dnet:rel($datasetId, $resultId, 'resultResult', 'publicationDataset', 'isRelatedTo', |
|
129 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
124 | 130 |
|
125 |
<xsl:variable name="resultDataset" |
|
126 |
select="dnet:rel($resultId, $datasetId, 'resultResult', 'publicationDataset', 'isRelatedTo', |
|
127 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
128 |
<xsl:variable name="datasetResult" |
|
129 |
select="dnet:rel($datasetId, $resultId, 'resultResult', 'publicationDataset', 'isRelatedTo', |
|
130 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
131 |
<ROW key="{$resultId}" columnFamily="resultResult_publicationDataset_isRelatedTo"> |
|
132 |
<QUALIFIER name="{$datasetId}" type="base64"> |
|
133 |
<xsl:value-of select="$resultDataset"/> |
|
134 |
</QUALIFIER> |
|
135 |
</ROW> |
|
136 |
<ROW key="{$datasetId}" columnFamily="resultResult_publicationDataset_isRelatedTo"> |
|
137 |
<QUALIFIER name="{$resultId}" type="base64"> |
|
138 |
<xsl:value-of select="$datasetResult"/> |
|
139 |
</QUALIFIER> |
|
140 |
</ROW> |
|
141 |
</xsl:if> |
|
142 |
</xsl:for-each> |
|
131 | 143 |
|
132 |
<ROW key="{$resultId}" columnFamily="resultResult_publicationDataset_isRelatedTo"> |
|
133 |
<QUALIFIER name="{$datasetId}" type="base64"> |
|
134 |
<xsl:value-of select="$resultDataset"/> |
|
135 |
</QUALIFIER> |
|
136 |
</ROW> |
|
137 |
<ROW key="{$datasetId}" columnFamily="resultResult_publicationDataset_isRelatedTo"> |
|
138 |
<QUALIFIER name="{$resultId}" type="base64"> |
|
139 |
<xsl:value-of select="$datasetResult"/> |
|
140 |
</QUALIFIER> |
|
141 |
</ROW> |
|
142 |
</xsl:if> |
|
143 |
</xsl:for-each> |
|
144 |
<xsl:for-each select="//*[local-name()='creator']"> |
|
144 | 145 |
|
145 |
<xsl:for-each select="//*[local-name()='creator']"> |
|
146 |
<xsl:if test="string-length(normalize-space(.)) > 0"> |
|
147 |
<xsl:variable name="originalPersonId"> |
|
148 |
<xsl:choose> |
|
149 |
<xsl:when test="string-length(@nameIdentifier) > 0"> |
|
150 |
<xsl:value-of select="normalize-space(@nameIdentifier)"/> |
|
151 |
</xsl:when> |
|
152 |
<xsl:otherwise> |
|
153 |
<xsl:value-of select="concat($originalid, '::', normalize-space(.))"/> |
|
154 |
</xsl:otherwise> |
|
155 |
</xsl:choose> |
|
156 |
</xsl:variable> |
|
146 | 157 |
|
147 |
<xsl:if test="string-length(normalize-space(.)) > 0"> |
|
148 |
<xsl:variable name="originalPersonId"> |
|
149 |
<xsl:choose> |
|
150 |
<xsl:when test="string-length(@nameIdentifier) > 0"> |
|
151 |
<xsl:value-of select="normalize-space(@nameIdentifier)"/> |
|
152 |
</xsl:when> |
|
153 |
<xsl:otherwise> |
|
154 |
<xsl:value-of select="concat($originalid, '::', normalize-space(.))"/> |
|
155 |
</xsl:otherwise> |
|
156 |
</xsl:choose> |
|
157 |
</xsl:variable> |
|
158 |
<xsl:variable name="personId" select="dnet:oafId('person', $namespaceprefix, $originalPersonId)"/> |
|
159 |
<xsl:variable name="position" select="position()"/> |
|
158 | 160 |
|
159 |
<xsl:variable name="personId" select="dnet:oafId('person', $namespaceprefix, $originalPersonId)"/> |
|
160 |
<xsl:variable name="position" select="position()"/> |
|
161 |
<xsl:variable name="person" |
|
162 |
select="dnet:person($personId, $about, $provenance, $trust, $collectedfromid, $collectedfromname, |
|
163 |
$originalPersonId, $dateofcollection, $dateoftransformation, normalize-space(.), @nameIdentifier, @nameIdentifierScheme)"/> |
|
164 |
<xsl:variable name="personresult" |
|
165 |
select="dnet:personResult_Authorship($personId, $resultId, $position, 'isAuthorOf', |
|
166 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
167 |
<xsl:variable name="resultperson" |
|
168 |
select="dnet:personResult_Authorship($resultId, $personId, $position, 'hasAuthor', |
|
169 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
161 | 170 |
|
162 |
<xsl:variable name="person" |
|
163 |
select="dnet:person($personId, $about, $provenance, $trust, $collectedfromid, $collectedfromname, |
|
164 |
$originalPersonId, $dateofcollection, $dateoftransformation, normalize-space(.), @nameIdentifier, @nameIdentifierScheme)"/> |
|
165 |
<xsl:variable name="personresult" |
|
166 |
select="dnet:personResult_Authorship($personId, $resultId, $position, 'isAuthorOf', |
|
167 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
168 |
<xsl:variable name="resultperson" |
|
169 |
select="dnet:personResult_Authorship($resultId, $personId, $position, 'hasAuthor', |
|
170 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
171 |
<xsl:if test="string-length($personId) > 0"> |
|
172 |
<ROW key="{$personId}" columnFamily="person"> |
|
173 |
<QUALIFIER name="body" type="base64"> |
|
174 |
<xsl:value-of select="$person"/> |
|
175 |
</QUALIFIER> |
|
176 |
</ROW> |
|
177 |
<ROW key="{$personId}" columnFamily="personResult_authorship_isAuthorOf"> |
|
178 |
<QUALIFIER name="{$resultId}" type="base64"> |
|
179 |
<xsl:value-of select="$personresult"/> |
|
180 |
</QUALIFIER> |
|
181 |
</ROW> |
|
182 |
<ROW key="{$resultId}" columnFamily="personResult_authorship_hasAuthor"> |
|
183 |
<QUALIFIER name="{$personId}" type="base64"> |
|
184 |
<xsl:value-of select="$resultperson"/> |
|
185 |
</QUALIFIER> |
|
186 |
</ROW> |
|
187 |
</xsl:if> |
|
171 | 188 |
|
172 |
<xsl:if test="string-length($personId) > 0"> |
|
173 |
<ROW key="{$personId}" columnFamily="person"> |
|
174 |
<QUALIFIER name="body" type="base64"> |
|
175 |
<xsl:value-of select="$person"/> |
|
176 |
</QUALIFIER> |
|
177 |
</ROW> |
|
178 |
<ROW key="{$personId}" columnFamily="personResult_authorship_isAuthorOf"> |
|
179 |
<QUALIFIER name="{$resultId}" type="base64"> |
|
180 |
<xsl:value-of select="$personresult"/> |
|
181 |
</QUALIFIER> |
|
182 |
</ROW> |
|
183 |
<ROW key="{$resultId}" columnFamily="personResult_authorship_hasAuthor"> |
|
184 |
<QUALIFIER name="{$personId}" type="base64"> |
|
185 |
<xsl:value-of select="$resultperson"/> |
|
186 |
</QUALIFIER> |
|
187 |
</ROW> |
|
188 |
</xsl:if> |
|
189 |
<!-- COAUTHORS --> |
|
190 |
<xsl:if test="$writeCoAuthors = true()"> |
|
191 |
<xsl:for-each select="../dc:creator"> |
|
192 |
<xsl:if test="$position != position()"> |
|
189 | 193 |
|
190 |
<!-- COAUTHORS --> |
|
191 |
<xsl:if test="$writeCoAuthors = true()"> |
|
192 |
<xsl:for-each select="../dc:creator"> |
|
193 |
<xsl:if test="$position != position()"> |
|
194 |
<xsl:variable name="originalCoauthorId"> |
|
195 |
<xsl:choose> |
|
196 |
<xsl:when test="string-length(@nameIdentifier) > 0"> |
|
197 |
<xsl:value-of select="normalize-space(@nameIdentifier)"/> |
|
198 |
</xsl:when> |
|
199 |
<xsl:otherwise> |
|
200 |
<xsl:value-of select="concat($originalid, '::', normalize-space(.))"/> |
|
201 |
</xsl:otherwise> |
|
202 |
</xsl:choose> |
|
203 |
</xsl:variable> |
|
194 | 204 |
|
195 |
<xsl:variable name="originalCoauthorId"> |
|
196 |
<xsl:choose> |
|
197 |
<xsl:when test="string-length(@nameIdentifier) > 0"> |
|
198 |
<xsl:value-of select="normalize-space(@nameIdentifier)"/> |
|
199 |
</xsl:when> |
|
200 |
<xsl:otherwise> |
|
201 |
<xsl:value-of select="concat($originalid, '::', normalize-space(.))"/> |
|
202 |
</xsl:otherwise> |
|
203 |
</xsl:choose> |
|
204 |
</xsl:variable> |
|
205 |
<xsl:variable name="coauthorId" |
|
206 |
select="dnet:oafId('person', $namespaceprefix, $originalCoauthorId)"/> |
|
205 | 207 |
|
206 |
<xsl:variable name="coauthorId" |
|
207 |
select="dnet:oafId('person', $namespaceprefix, $originalCoauthorId)"/> |
|
208 |
<xsl:variable name="personperson" |
|
209 |
select="dnet:rel($personId, $coauthorId, 'personPerson', 'coauthorship', 'isCoAuthorOf', |
|
210 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
208 | 211 |
|
209 |
<xsl:variable name="personperson" |
|
210 |
select="dnet:rel($personId, $coauthorId, 'personPerson', 'coauthorship', 'isCoAuthorOf', |
|
211 |
$collectedfromid, $collectedfromname, $provenance, $trust, $about)"/> |
|
212 |
<ROW key="{$personId}" columnFamily="personPerson_coAuthorship_isCoAuthorOf"> |
|
213 |
<QUALIFIER name="{$coauthorId}" type="base64"> |
|
214 |
<xsl:value-of select="$personperson"/> |
|
215 |
</QUALIFIER> |
|
216 |
</ROW> |
|
217 |
</xsl:if> |
|
218 |
</xsl:for-each> |
|
219 |
</xsl:if> |
|
220 |
<!-- / COAUTHORS --> |
|
221 |
</xsl:if> |
|
222 |
</xsl:for-each> |
|
212 | 223 |
|
213 |
<ROW key="{$personId}" columnFamily="personPerson_coAuthorship_isCoAuthorOf"> |
|
214 |
<QUALIFIER name="{$coauthorId}" type="base64"> |
|
215 |
<xsl:value-of select="$personperson"/> |
|
216 |
</QUALIFIER> |
|
217 |
</ROW> |
|
218 |
</xsl:if> |
|
219 |
</xsl:for-each> |
|
220 |
</xsl:if> |
|
221 |
<!-- / COAUTHORS --> |
|
222 |
</xsl:if> |
|
223 |
</xsl:for-each> |
|
224 |
|
|
225 |
</ROWS> |
|
226 |
</xsl:if> |
|
227 |
</xsl:otherwise> |
|
228 |
</xsl:choose> |
|
229 |
</xsl:template> |
|
230 |
</xsl:stylesheet> |
|
224 |
</ROWS> |
|
225 |
</xsl:if> |
|
226 |
</xsl:otherwise> |
|
227 |
</xsl:choose> |
|
228 |
</xsl:template> |
|
229 |
</xsl:stylesheet> |
|
231 | 230 |
</CODE> |
232 | 231 |
</SCRIPT> |
233 | 232 |
</CONFIGURATION> |
Also available in: Unified diff
indentation