1 |
26600
|
sandro.lab
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<RESOURCE_PROFILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TransformationRuleDSResourceType.xsd">
|
3 |
|
|
<HEADER>
|
4 |
|
|
<RESOURCE_IDENTIFIER value="123"/>
|
5 |
|
|
<RESOURCE_TYPE value="TransformationRuleDSResourceType"/>
|
6 |
|
|
<RESOURCE_KIND value="TransformationRuleDSResources"/>
|
7 |
|
|
<RESOURCE_URI value=""/>
|
8 |
|
|
<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
|
9 |
|
|
</HEADER>
|
10 |
|
|
<BODY>
|
11 |
|
|
<CONFIGURATION>
|
12 |
|
|
<IMPORTED>
|
13 |
|
|
<SCRIPT_REFERENCE id="123456">SubSample</SCRIPT_REFERENCE>
|
14 |
|
|
</IMPORTED>
|
15 |
|
|
<SCRIPT>
|
16 |
|
|
<TITLE>MainSample</TITLE>
|
17 |
|
|
<CODE>
|
18 |
|
|
// declare the import of script(s)
|
19 |
|
|
import (subScript_example.ftl);
|
20 |
|
|
|
21 |
|
|
// declare namespace(s)
|
22 |
|
|
declare_ns prefix=http://somenamespace.xyz.de;
|
23 |
|
|
|
24 |
|
|
// declare the script name
|
25 |
|
|
declare_script MainSample;
|
26 |
|
|
|
27 |
|
|
// set a rule of type function
|
28 |
|
|
lv = Convert(xpath:/dc.metadata.language,LangVocab);
|
29 |
|
|
|
30 |
|
|
// mark the end of the script
|
31 |
|
|
end
|
32 |
|
|
</CODE>
|
33 |
|
|
</SCRIPT>
|
34 |
|
|
</CONFIGURATION>
|
35 |
|
|
<STATUS/>
|
36 |
|
|
<SECURITY_PARAMETERS>SECURITY_PARAMETERS</SECURITY_PARAMETERS>
|
37 |
|
|
</BODY>
|
38 |
|
|
</RESOURCE_PROFILE>
|