main.xq 483 Bytes
Newer Older
simei.yin's avatar
simei.yin committed
1
2
3
(: this script with .xq as suffix is the main module :)
(: all functions defined in .xqm files (library modules) can be called here :)

4
import module namespace myNs = "https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex" at "searchSectionByTitle.xqm", "searchDocByTitle.xqm", "searchDocByAuthor.xqm";
simei.yin's avatar
simei.yin committed
5

6
(: myNs:searchDocByTitle('^NF29_HdocEtherpad$', //document ) :)
simei.yin's avatar
simei.yin committed
7
8
(: myNs:searchSectionByTitle('contenu', //document) :)

simei.yin's avatar
simei.yin committed
9
myNs:searchDocByAuthor('Antoine', //document)/title