Moved to XPathDocument for xslt transforms