main.xq 567 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
(: myNs:searchSectionByTitle('contenu', //document) :)
simei.yin's avatar
simei.yin committed
8
9
10
(: myNs:searchDocByAuthor('montangé', //document) :)

myNs:searchSectionByTitle('xml', myNs:searchDocByAuthor('montangé', //document))