Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99010164
generate-pm-config.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
Sat, Jan 18, 10:54
Size
925 B
Mime Type
text/x-java
Expires
Mon, Jan 20, 10:54 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23689218
Attached To
rNIETZSCHEDM nietzsche-dm
generate-pm-config.xql
View Options
xquery version "3.1";
module namespace g="http://www.tei-c.org/tei-simple/generate";
import module namespace pmc="http://www.tei-c.org/tei-simple/xquery/config";
import module namespace config="http://www.tei-c.org/tei-simple/config" at "config.xqm";
import module namespace console="http://exist-db.org/xquery/console";
(: let $pmuConfig := pmc:generate-pm-config(($config:odd-available, $config:odd-internal), $config:default-odd, $config:odd-root)
let $log := console:log('hello')
return
xmldb:store($config:app-root || "/modules", "pm-config.xql", $pmuConfig, "application/xquery") :)
declare function g:createPmConfig() {
let $pmuConfig := pmc:generate-pm-config(($config:odd-available, $config:odd-internal), $config:default-odd, $config:odd-root)
let $log := console:log($pmuConfig)
return
xmldb:store($config:app-root || "/modules", "pm-config.xql", $pmuConfig, "application/xquery")
};
Event Timeline
Log In to Comment