Hi,

I find myself having to call xdmp:invoke() via CQ and entering the .xqy
path and its parameters is tedious.

Am thinking of writing a web app that would list all .xqy files in a given
folder. Once the user has chosen a .xqy file, the web app will then display
a label + text input field for each parameter that the said .xqy file
accepts.

But before I dive in, a few questions :

1. Is there already a tool like this (why reinvent the wheel) ?

2. Is there an Xquery parser out there that will readily tell me what
parameters a given xqy file accepts ?

    I saw some mention of XQYSP. I guess I can look for "literal" elements
with the value "declare" and "variable" and then look for the next literal
to get the name of the variable. Would this be the best way to go about it ?

Regards,
Danny
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to