Not a Xalan issue, but basic DOM behavior: You can't append nodes from one document direct to nodes from another. See http://www.w3.org/DOM/faq.html#ownerdoc. Rather than parsing, in this case, why not just use createElement()?
- exception appending Element to Node felix
- Re: exception appending Element to Node Tom Bradford
- Joseph_Kesselman
