qt4cg / qtspecs

QT4 specifications
https://qt4cg.org/
Other
28 stars 15 forks source link

load-xquery-module supplying content #1329

Closed michaelhkay closed 1 month ago

michaelhkay commented 1 month ago

I propose to provide an additional option

content as xs:string

for fn:load-xquery-module. The effect is to supply the content of the XQuery library module as a string. If supplied, the location-hints option is ignored.

Use case: I'm writing code that attempts to test the XQuery examples in the specification. This requires some kind of capability for dynamic XQuery execution, and this seems the simplest way of doing it.

michaelhkay commented 1 month ago

See also #1194