Revision 36879
Added by Alessia Bardi over 9 years ago
webapps/dnet-minimal-container/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/dmf2dc.xml | ||
---|---|---|
12 | 12 |
<SCRIPT> |
13 | 13 |
<TITLE>DMF_to_oai_dc</TITLE> |
14 | 14 |
<CODE> |
15 |
<![CDATA[<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" version="1.0">
|
|
16 |
<output indent="yes" method="xml" omit-xml-declaration="yes"/> |
|
15 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" version="1.0"> |
|
16 |
<xsl:output indent="yes" method="xml" omit-xml-declaration="yes"/>
|
|
17 | 17 |
<xsl:template match="/"> |
18 | 18 |
<metadata> |
19 |
<apply-templates select=".//*[namespace-uri()='http://purl.org/dc/elements/1.1/']"/> |
|
19 |
<xsl:apply-templates select=".//*[namespace-uri()='http://purl.org/dc/elements/1.1/']"/>
|
|
20 | 20 |
</metadata> |
21 | 21 |
</xsl:template> |
22 | 22 |
<xsl:template match="@*|node()"> |
23 | 23 |
<xsl:copy> |
24 |
<apply-templates select="@*|node()"/> |
|
24 |
<xsl:apply-templates select="@*|node()"/>
|
|
25 | 25 |
</xsl:copy> |
26 | 26 |
</xsl:template> |
27 | 27 |
</xsl:stylesheet> |
28 |
]]></CODE>
|
|
28 |
</CODE> |
|
29 | 29 |
</SCRIPT> |
30 | 30 |
</CONFIGURATION> |
31 | 31 |
<STATUS/> |
Also available in: Unified diff
xsl namespace when needed.