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:
945 bytes
|
Line | |
---|
1 | <idoc> |
---|
2 | <seq> |
---|
3 | <!-- which url? --> |
---|
4 | <if> |
---|
5 | <cond> |
---|
6 | <instr> |
---|
7 | <type>exists</type> |
---|
8 | <operand>this:param:url</operand> |
---|
9 | <target>this:cond</target> |
---|
10 | </instr> |
---|
11 | </cond> |
---|
12 | <then> |
---|
13 | <instr> |
---|
14 | <type>copy</type> |
---|
15 | <operand>this:param:url#xpointer(/)</operand> |
---|
16 | <target>var:url</target> |
---|
17 | </instr> |
---|
18 | <exception> |
---|
19 | <instr> |
---|
20 | <type>StringToCanonicalString</type> |
---|
21 | <operand>this:param:url</operand> |
---|
22 | <target>var:url</target> |
---|
23 | </instr> |
---|
24 | </exception> |
---|
25 | </then> |
---|
26 | <else> |
---|
27 | <instr> |
---|
28 | <type>copy</type> |
---|
29 | <operand> |
---|
30 | <string/> |
---|
31 | </operand> |
---|
32 | <target>var:url</target> |
---|
33 | </instr> |
---|
34 | </else> |
---|
35 | </if> |
---|
36 | <instr> |
---|
37 | <type>xpur</type> |
---|
38 | <operand>var:url</operand> |
---|
39 | <operator> |
---|
40 | <xpath>/</xpath> |
---|
41 | </operator> |
---|
42 | <target>var:url</target> |
---|
43 | </instr> |
---|
44 | <instr> |
---|
45 | <type>HTTPRedirect</type> |
---|
46 | <operator>var:url</operator> |
---|
47 | <target>this:response</target> |
---|
48 | </instr> |
---|
49 | </seq> |
---|
50 | </idoc> |
---|
Note: See
TracBrowser
for help on using the repository browser.