main.xq 570 Bytes
Newer Older
1
2
3
4
5
6
7
(: this script with .xq as suffix is the main module :)
(: all functions defined in .xqm files (library modules) can be called here :)

import module namespace myNs = "https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex" at "searchSectionByTitle.xqm", "searchSectionByTitle.xqm", "searchDocByAuthor.xqm";

(: myNs:searchDocByTitle('^NF29_HdocEtherpad$', //document ):)
(: 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))