Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module namespace page = ’http://basex.org/examples/web-page’;
- declare
- %rest:path("test/{$a}/{$b}")
- %rest:GET
- %output:method("xhtml")
- function page:hello($a as xs:integer, $b as xs:integer)
- {
- <html>
- <h1>Optelling</h1>
- <p>De som van {$a} en {$b} is {$a+$b}.</p>
- </html>
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement