Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97226200
api-odd.xql
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 3, 14:46
Size
642 B
Mime Type
text/x-java
Expires
Sun, Jan 5, 14:46 (2 d)
Engine
blob
Format
Raw Data
Handle
23358917
Attached To
rNIETZSCHEDM nietzsche-dm
api-odd.xql
View Options
xquery version "3.1";
declare namespace api="https://tei-publisher.com/xquery/api";
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";
declare namespace tei="http://www.tei-c.org/ns/1.0";
import module namespace router="http://e-editiones.org/roaster";
import module namespace rutil="http://e-editiones.org/roaster/util";
import module namespace oapi="http://teipublisher.com/api/odd" at "api/odd.xql";
let $lookup := function($name as xs:string) {
try {
function-lookup(xs:QName($name), 1)
} catch * {
()
}
}
let $resp := router:route("modules/lib/api.json", $lookup)
return
$resp
Event Timeline
Log In to Comment