Allows XPaths to access the containing document, not just instance data.

(Erik's note: XPath 2.0 already has doc() function)

A document() function (last edited 2008-02-05 16:45:27 by JohnBoyer)