Is it safe to use fn:transform from SaxonJS.XPath.evaluate on Node?
Replies (1)
Please register to reply
Added by Martin Honnen over 4 years ago
I was wondering whether it is safe to use fn:transform
in Node.js code in a call to SaxonJS.XPath.evaluate
. Any result documents should end up in the map that fn:transform
returns, I think. Or is there any way a stylesheet could write to the local file system where Node is run?
It should work in principle, though combinations like this have caused us considerable headaches in practice.
If the post-process
option of fn:transform()
is set to a function that has side-effects, then it could indeed write to the local file system.
Please register to reply