Please take a look at xqDoc for XQuery that is like JavaDoc for Java.
https://github.com/lcahlander/xqdoc https://github.com/lcahlander/xqdoc
Here is a polymer based web app that runs under eXist-db. The build.gradle has a task generateXQDocs
https://github.com/lcahlander/xqDoc-eXist-db https://github.com/lcahlander/xqDoc-eXist-db
On May 16, 2019, at 11:42 AM, 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