[Webkit-unassigned] [Bug 14101] XSLTProcessor does not accept Nodes as parameter values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 25 12:02:31 PST 2019


--- Comment #20 from William J. Edney <bedney at technicalpursuit.com> ---
Mike -

In looking back over this code, I realized that the call to xsltDoc.evaluate() is going to give you back an 'XPathResult' object - not the element itself.

More docs can be found here: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult

It was all so long ago... ;-) And the API around 'document.evaluate' is pretty weird.

I think what you'll want is the '.singleNodeValue' of the result.

Sorry in advance to everyone on this bug for the not-quite-interactive debugging session ;-).


- Bill

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190125/9d4c07b2/attachment.html>

More information about the webkit-unassigned mailing list