docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

Allow pre/post processing transforms to be passed from the command line #448

Closed ndw closed 5 months ago

ndw commented 5 months ago

I think this is a simpler solution to #426 than proposed in #439. The root cause appears to be that a parameter passed on the command line is not a string, it is an xs:untypedAtomic. That makes sense because untyped atomic values are more amenable to automatic conversion.

Fixing the first problem (allowing instance of xs:untypedAtomic) reveals a second; the variables are attempting to use the root of the input document when it isn't available. I think static-base-uri() is a reasonable compromise.

Close #426 Close #439