return instance of given document or node rather than AgaviXmlConfigDomDocument in XSLT processor, refs #1354