source: shared/mod-SLOOT/trunk/tools/equals.idoc @ 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: 630 bytes
Line 
1<idoc>
2        <seq>
3                <instr>
4                        <type>copy</type>
5                        <operand>this:param:left</operand>
6                        <target>var:left</target>
7                </instr>
8                <instr>
9                        <type>copy</type>
10                        <operand>this:param:right</operand>
11                        <target>var:right</target>
12                </instr>
13                <instr>
14                        <type>sloot.xquery</type>
15                        <operator>
16                                <xquery>
17                                        declare variable $left as node() external;
18                                        declare variable $right as node() external;
19                                        &lt;b>{if (string($left/string)=string($right/string)) then ('t') else ('f')}&lt;/b>
20                                </xquery>
21                        </operator>
22                        <left>var:left</left>
23                        <right>var:right</right>
24                        <target>this:response</target>
25                </instr>
26        </seq>
27</idoc>
Note: See TracBrowser for help on using the repository browser.