Revision 33239
Added by Andrea Mannocci almost 10 years ago
modules/dnet-eagle-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/EagleToEuropeana.xml | ||
---|---|---|
25 | 25 |
xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
26 | 26 |
xmlns:dcterms="http://purl.org/dc/terms/" |
27 | 27 |
extension-element-prefixes="date" version="2.0"> |
28 |
<xsl:output encoding="UTF-8" indent="yes" method="xml" |
|
29 |
omit-xml-declaration="yes" version="1.1" /> |
|
30 |
<xsl:variable name="DNET_ID" |
|
31 |
select="normalize-space(/eagleObject/dnetResourceIdentifier)" /> |
|
28 |
<xsl:output encoding="UTF-8" indent="yes" method="xml" omit-xml-declaration="yes" version="1.1" /> |
|
29 |
<xsl:variable name="DNET_ID" select="normalize-space(/eagleObject/dnetResourceIdentifier)" /> |
|
32 | 30 |
<xsl:variable name="CHO_ID" select="concat($DNET_ID, '::cho')" /> |
33 | 31 |
<xsl:variable name="AGGR_ID" select="concat($DNET_ID, '::ore')" /> |
34 |
<xsl:variable name="PROVIDER_NAME" |
|
35 |
select="normalize-space(/eagleObject/recordSourceInfo/@providerName)" /> |
|
32 |
<xsl:variable name="PROVIDER_NAME" select="normalize-space(/eagleObject/recordSourceInfo/@providerName)" /> |
|
36 | 33 |
<xsl:variable name="VISUAL_IPR_URI"> |
37 | 34 |
<xsl:choose> |
38 | 35 |
<xsl:when test="normalize-space(/eagleObject/visualRepresentation/visualRepresentationIpr/@uri) != ''"> |
... | ... | |
298 | 295 |
</xsl:if> |
299 | 296 |
|
300 | 297 |
<!-- edm:isShownBy --> |
298 |
<xsl:if test="//entityType = 'artifact'"> |
|
299 |
<xsl:call-template name="fieldEmitterTemplate"> |
|
300 |
<xsl:with-param name="fieldName">edm:isShownBy</xsl:with-param> |
|
301 |
<xsl:with-param name="resource" select="concat('http://node0.d.eagle.research-infrastructures.eu/app/mvc/pdfs/', $DNET_ID)" /> |
|
302 |
</xsl:call-template> |
|
303 |
</xsl:if> |
|
301 | 304 |
<xsl:if test="//entityType = 'visual'"> |
302 | 305 |
<xsl:call-template name="fieldEmitterTemplate"> |
303 | 306 |
<xsl:with-param name="fieldName">edm:isShownBy</xsl:with-param> |
Also available in: Unified diff
added pdf isShownBy