main.xq 483 Bytes
Newer Older
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";
5

6
(: myNs:searchDocByTitle('^NF29_HdocEtherpad$', //document ) :)
7 8
(: myNs:searchSectionByTitle('contenu', //document) :)

9
myNs:searchDocByAuthor('Antoine', //document)/title