The output of the inspect:module and inspect:xqdoc functions can be used to generate a documentation of your source code (in HTML, Swagger, …).
Hope this helps, Christian
On Thu, May 16, 2019 at 5:42 PM Andreas Mixich mixich.andreas@gmail.com wrote:
Hi,
I am doing some tooling for XQuery and need to extract function signatures from text, like from the BaseX module library documentation. But with my regex skills I just hit the wall. Next step would be to write some complex program, that does the parsing, maybe in combination with regexes, but before I start into that, I wanted to ask, whether the work has already been done.
Is there a marked up version of the BaseX function docs? Or, even better (since I could apply it to other docs, then) does anyone know of a regular expression or an XQuery routine, that analyzes function signatures?
Thanks a lot!
-- Minden jót, all the best, Alles Gute, Andreas Mixich