What _kind_ of node are you passing into DOMResult. Generally, as the setNode method notes, it should be a Document node -- if your DOM implementation permits adding top-level nodes to the Document, not all do -- or an Element node, or a DocumentFragment node. Xalan's output should be constructed as descendants of that node.
______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
