Fix document('') to return the stylesheet document to XPath
Register XPath namespaces before evaluating copy-of select
Add a match test for the /* pattern