From: Loren C. <lor...@gm...> - 2009-06-11 15:22:44
|
I am attaching a patch to show what my approach is going to be for now. It is not working quite yet, but it is getting there. I will also need to alter webapp/xquery/functions.xql On Jun 11, 2009, at 08:09 AM, Adam Retter wrote: > Some thoughts - > > >> Ideally I would still like to keep the documentation together with >> the >> documented module, but as a separate XML document. > > A much better idea. We must provide an XML Schema for such documents > so that they are uniform. We should consider the lifetime of this > documentation, I would suggest it could be loaded and cached when the > module is loaded - it is unlikely to change frequently. There is already a schema that we are using and is referred to in org.exist.xquery.functions.util.ExtractDocs. The URL to the site is: http://www.xqdoc.org/ and the URL to the schema is: http://www.xqdoc.org/xqdoc-1.0.xsd |