Hi,
I am looking for a way to determine for a module what external variables are defined. Neither inspect:module [1] or inspect:xqdoc seem to return this information.
I wonder if adding an *external *attribute to the inspect:module o/p for variables (and functions?) would be a solution. e.g. <variable name="samples:test-string" uri="http://basex.org/modules/samples" type="xs:string" *external="true"*> <description>This is a sample string.</description> </variable>
/Andy
[1] http://docs.basex.org/wiki/Inspection_Module#inspect:module
Hi Andy,
Nice to have you back!
I wonder if adding an external attribute to the inspect:module o/p for variables (and functions?) would be a solution. e.g. <variable name="samples:test-string" uri="http://basex.org/modules/samples" type="xs:string" external="true"> <description>This is a sample string.</description>
</variable>
Sounds like a reasonable extension. Maybe it could also be added to the xqDoc specification, which was basically done for XQuery 1.0. However, as far as I know, Darin McBeath will be happy to add extensions to the spec [1,2].
Christian
[1] http://xqdoc.org/ [2] https://github.com/xquery/xquerydoc/issues
…done [1,2,3].
[1] https://github.com/BaseXdb/basex/issues/1278 [2] http://docs.basex.org/wiki/Inspection_Module#inspect:module [3] http://files.basex.org/releases/latest/ (…available in a few minutes)
On Mon, Mar 28, 2016 at 1:24 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Andy,
Nice to have you back!
I wonder if adding an external attribute to the inspect:module o/p for variables (and functions?) would be a solution. e.g. <variable name="samples:test-string" uri="http://basex.org/modules/samples" type="xs:string" external="true"> <description>This is a sample string.</description>
</variable>
Sounds like a reasonable extension. Maybe it could also be added to the xqDoc specification, which was basically done for XQuery 1.0. However, as far as I know, Darin McBeath will be happy to add extensions to the spec [1,2].
Christian
[1] http://xqdoc.org/ [2] https://github.com/xquery/xquerydoc/issues
Thanks. I will look at trying to get this added to xqdoc.
/Andy
PS I was a bit sad to miss Prague this year. Do you plan to publish links to papers, videos etc from the BaseX Prague user group?
On 29 March 2016 at 15:44, Christian Grün christian.gruen@gmail.com wrote:
…done [1,2,3].
[1] https://github.com/BaseXdb/basex/issues/1278 [2] http://docs.basex.org/wiki/Inspection_Module#inspect:module [3] http://files.basex.org/releases/latest/ (…available in a few minutes)
On Mon, Mar 28, 2016 at 1:24 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Andy,
Nice to have you back!
I wonder if adding an external attribute to the inspect:module o/p for variables (and functions?) would be a solution. e.g. <variable name="samples:test-string" uri="
http://basex.org/modules/samples"
type="xs:string" external="true"> <description>This is a sample string.</description>
</variable>
Sounds like a reasonable extension. Maybe it could also be added to the xqDoc specification, which was basically done for XQuery 1.0. However, as far as I know, Darin McBeath will be happy to add extensions to the spec [1,2].
Christian
[1] http://xqdoc.org/ [2] https://github.com/xquery/xquerydoc/issues
PS I was a bit sad to miss Prague this year. Do you plan to publish links to papers, videos etc from the BaseX Prague user group?
We really had good talks, and we should finally make this happen… ;) We’ll keep you updated.
On 29 March 2016 at 15:44, Christian Grün christian.gruen@gmail.com wrote:
…done [1,2,3].
[1] https://github.com/BaseXdb/basex/issues/1278 [2] http://docs.basex.org/wiki/Inspection_Module#inspect:module [3] http://files.basex.org/releases/latest/ (…available in a few minutes)
On Mon, Mar 28, 2016 at 1:24 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Andy,
Nice to have you back!
I wonder if adding an external attribute to the inspect:module o/p for variables (and functions?) would be a solution. e.g. <variable name="samples:test-string" uri="http://basex.org/modules/samples" type="xs:string" external="true"> <description>This is a sample string.</description>
</variable>
Sounds like a reasonable extension. Maybe it could also be added to the xqDoc specification, which was basically done for XQuery 1.0. However, as far as I know, Darin McBeath will be happy to add extensions to the spec [1,2].
Christian
[1] http://xqdoc.org/ [2] https://github.com/xquery/xquerydoc/issues
basex-talk@mailman.uni-konstanz.de