source: ISOcat/trunk/mod-ISOcat-access-data/access/dcs_scope.acc @ 2029

Last change on this file since 2029 was 2029, checked in by mwindhouwer, 12 years ago

Initial import of all the *cats, i.e., ISOcat, RELcat and SCHEMAcat.

File size: 1.3 KB
Line 
1<accessor debug="false">
2        <name>ISOcat.access.data.dcs.scope</name>
3        <descr>The scope of a DCS.</descr>
4        <param mandatory="true">
5                <name>dcs</name>
6                <descr>the DCS key</descr>
7                <type canonical="true">string</type>
8        </param>
9        <idoc>
10                <seq>
11                        <instr>
12                                <type>sloot.dbx</type>
13                                <dcs>var:dcs</dcs>
14                                <operator>ffcpl:/dbx/DCS-scope.xml</operator>
15                                <debug>var:accessor-debug</debug>
16                                <target>this:response</target>
17                        </instr>
18                        <accessor-debug>
19                                <instr>
20                                        <type>copy</type>
21                                        <operand>this:response</operand>
22                                        <target>ffcpl:/trace/dcs.scope.xml</target>
23                                </instr>
24                        </accessor-debug>
25                        <!-- attach the golden thread of this DCS -->
26                        <instr>
27                                <type>sloot.xquery</type>
28                                <operator>
29                                        <xquery>
30                                                declare variable $dcs as node() external;
31                                               
32                                                &lt;string>goldenthread:/dcs/{string($dcs)}&lt;/string>
33                                        </xquery>
34                                </operator>
35                                <dcs>var:dcs</dcs>
36                                <target>var:thread</target>
37                        </instr>
38                        <instr>
39                                <type>sloot.attachGoldenThread</type>
40                                <operand>this:response</operand>
41                                <param>var:thread</param>
42                                <target>this:response</target>
43                        </instr>
44                </seq>
45        </idoc>
46        <exception>
47                <debug/>
48                <trace>ffcpl:/trace/dcs_scope.exception.xml</trace>
49                <throw/>
50        </exception>
51        <response>
52                <debug>ffcpl:/trace/dcs_scope.response.xml</debug>
53                <mime>application/xml</mime>
54        </response>
55</accessor>
Note: See TracBrowser for help on using the repository browser.