>Is it possible to get a handle (Dom object) on the result tree from a >java extension element?
See http://xml.apache.org/xalan-j/extensions.html -- if you pass a result tree to an extension element whose argument is declared as org.w3c.dom.DocumentFragment, or to an extension function whose argument is declared as org.w3c.dom.traversal.NodeIterator, org.w3c.dom.NodeList, or org.w3c.dom.Node (or an appropriate subclass thereof), Xalan will give you a DOM view of the data. Note that we only promise to support a read-only subset of the DOM APIs in this case, since the XSLT data model assumes that source and result trees are immutable once constructed.
