Thanks for the hint.
So this would be a parameter for the implementation option that is described in 
detail here:
https://www.w3.org/TR/xslt-xquery-serialization-31/#serparams-in-xdm-instance

I was not sure, because it is declared a standard (BaseX) parameter here 
https://docs.basex.org/wiki/Serialization#Standard_Parameters but not getting 
respected in db:export() (https://docs.basex.org/wiki/Database_Module#db:export)
It only works when is is declared in the prolog, as in your example on the wiki 
page (declare option output:parameter-document "map.xml";)

Daniel

Von: Christian Grün <christian.gr...@gmail.com>
Gesendet: Dienstag, 3. Oktober 2023 14:38
An: Zimmel, Daniel <d.zim...@esvmedien.de>
Cc: BaseX <basex-talk@mailman.uni-konstanz.de>
Betreff: Re: [basex-talk] use-character-maps vs parameter-document with 
db:export()

Hi Daniel,

 Is it?

It is. Maybe the parameter could be introduced with the 4.0 version of the 
spec. I invite you to add a proposal for it in the qtspecs repository [1].

Thanks,
Christian

[1] https://github.com/qt4cg/qtspecs/issues

Reply via email to