source: ComponentRegistry/trunk/ComponentRegistry/src/main/resources/ccr2dcif.xsl @ 5918

Last change on this file since 5918 was 5918, checked in by Twan Goosen, 10 years ago

Added XSLT transformation logic to the ConceptRegistryServlet?. Added a dummy XSLT as well to make it work without throwing exceptions.

File size: 3.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3    xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0">
4
5    <xsl:template match="/">
6        <!-- THIS IS A DUMMY IMPLEMENTATION OF CCR TO DCIF CONVERSION.
7            TODO: Implement actual conversion
8            -->
9        <dcif:dataCategorySelection xmlns:dcif="http://www.isocat.org/ns/dcif" dcif-version="1.3">
10            <dcif:globalInformation>Max Planck Institute for Psycholinguistics, Nijmegen, The
11                Netherlands</dcif:globalInformation>
12            <dcif:dataCategory pid="http://www.isocat.org/datcat/DC-4347" type="container">
13                <!--This work by http://www.isocat.org/datcat/DC-4347 is licensed under a Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).-->
14                <dcif:administrationInformationSection>
15                    <dcif:administrationRecord>
16                        <dcif:identifier>ArthurianFiction</dcif:identifier>
17                        <dcif:version>1:0</dcif:version>
18                        <dcif:registrationStatus>private</dcif:registrationStatus>
19                        <dcif:justification>project container</dcif:justification>
20                        <dcif:effectiveDate>2012-01-10</dcif:effectiveDate>
21                        <dcif:creation>
22                            <dcif:creationDate>2012-01-10</dcif:creationDate>
23                            <dcif:changeDescription xml:lang="en">initial
24                                creation</dcif:changeDescription>
25                        </dcif:creation>
26                        <dcif:lastChange>
27                            <dcif:lastChangeDate>2012-01-18</dcif:lastChangeDate>
28                            <dcif:changeDescription xml:lang="en">additions</dcif:changeDescription>
29                        </dcif:lastChange>
30                    </dcif:administrationRecord>
31                </dcif:administrationInformationSection>
32                <dcif:descriptionSection>
33                    <dcif:profile>undecided</dcif:profile>
34                    <dcif:languageSection>
35                        <dcif:language>en</dcif:language>
36                        <dcif:nameSection>
37                            <dcif:name xml:lang="en">Arthurian Fiction database</dcif:name>
38                            <dcif:nameStatus>admitted name</dcif:nameStatus>
39                        </dcif:nameSection>
40                        <dcif:definitionSection>
41                            <dcif:definition xml:lang="en">Online database containing descriptions
42                                of narratives of Arthurian fiction and manuscripts containing
43                                them</dcif:definition>
44                            <dcif:source>-</dcif:source>
45                        </dcif:definitionSection>
46                    </dcif:languageSection>
47                </dcif:descriptionSection>
48            </dcif:dataCategory>
49        </dcif:dataCategorySelection>
50
51    </xsl:template>
52
53</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.