Last active
December 15, 2015 13:28
-
-
Save eedeebee/5267522 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xquery version "1.0-ml"; | |
| module namespace addr="http://example.org/address"; | |
| declare namespace rxq="http://exquery.org/ns/restxq"; | |
| declare | |
| %rxq:GET | |
| %rxq:path('/address/id/(.*)') | |
| %rxq:produces('text/html') | |
| function addr:get-address($id){ | |
| (: .... :) | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment