No xsltLineNr in the browser while it exists with Node.js
Replies (1)
Please register to reply
Added by Martin Honnen over 4 years ago
I am trying to run XSLT 3 by calling fn:transform
from SaxonJS.XPath.evaluate
, when I do this with Node any runtime error encountered during XSLT transformation seems to be thrown with an exception having an xsltLineNr
property.
However, inside the browser the exception raised doesn't seem to have any such property.
Is that intentional?
On Node.js we parse documents using SAX and DOM libraries that allow us to capture the line number and insert it as a custom property into the DOM Node. This possibility doesn't exist in the browser, where we use the DOM implementation provided by the browser vendor.
Please register to reply