26. ixsl:page()

The browser’s DOM (document object model) is not an instance of the XDM (XPath Data Model).

That’s a problem, because XPath and XSLT operate on XDMs.

Enter ixsl:page()

The extension function ixsl:page() returns the browser’s “current page” with enough shims around it so that it can be treated as an XDM.