Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (31 sloc) 1.188 kb
85b75d7 in plane developments
Nuno Job authored
1 (:
2 : Invoker for Dylan
3 :
a960194 lots of changes but still not working - after user conference
Nuno Job authored
4 : Copyright (c) 2010 Nuno Job [nunojob.com]. All Rights Reserved.
85b75d7 in plane developments
Nuno Job authored
5 :
6 : Licensed under the Apache License, Version 2.0 (the "License");
7 : you may not use this file except in compliance with the License.
8 : You may obtain a copy of the License at
9 :
10 : http://www.apache.org/licenses/LICENSE-2.0
11 :
12 : Unless required by applicable law or agreed to in writing, software
13 : distributed under the License is distributed on an "AS IS" BASIS,
14 : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 : See the License for the specific language governing permissions and
16 : limitations under the License.
17 :
18 : The use of the Apache License does not indicate that this project is
19 : affiliated with the Apache Software Foundation.
20 :)
21 xquery version "1.0-ml";
22 import module
23 namespace d = "http://ns.dscape.org/2010/dylan/core"
24 at "/lib/dylan/base.xqy";
25 import module namespace s = "http://ns.dscape.org/2010/dylan/string"
26 at "/lib/common/string.xqy" ;
27
28 let $action := d:action()
a960194 lots of changes but still not working - after user conference
Nuno Job authored
29 return
30 if ( $action = 'default' )
31 then xdmp:invoke( s:q( "/resources/$1.xqy", ( d:resource() ) ), () )
32 else "redirecting --- not really.."
Something went wrong with that request. Please try again.