Bug #4604
openSaxonJS.transform() API - documentation and usability issues
0%
Description
-
It seems we accept the
globalContextItem
option but this is not documented. (And in particular, it's not documented what conversion is applied, especially in the presence of anxsl:global-context-item
declaration that specifies the required type.) -
Switching to using a stylesheet parameter, with a declared type of
array(map(xs:string, xs:anyAtomicType))
I was hoping to be able to pass a Javascript array of objects. No such luck. I ended up converting the value to lexical JSON and then parsing the JSON from the XSLT code. -
I tried specifying
{destination: "file", baseOutputURI: "profile.html"}
and it rejects "profile.html" as an invalid URI. I think if a relative path is given here (in Node.js) we should resolve it against the current directory.
Please register to edit this issue
Also available in: Atom PDF Tracking page