I need to be able to augment an XSLT generated document by adding the contents of another document to it as a child node. I tried generating to an XalanSourceTreeDocument but when I invoked addChild an XalanDOMException was raised with code 7 (modification not allowed). Do I need to generate to an Xerces DOM instead, using FormatterToXercesDOM as per one of the examples, and if so what are the steps to add one document as the child of another XercesDOM - i.e. can I indeed add to a fully formed document and do I need to clone the nodes from one document before adding to another?
Thanks in advance for any tips. Paul This e-mail (including any attachments) is confidential, may contain proprietary or privileged information and is intended for the named recipient(s) only. Unintended recipients are prohibited from taking action on the basis of information in this e-mail and must delete all copies. Nomura will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in, this e-mail. If verification is sought please request a hard copy. Any reference to the terms of executed transactions should be treated as preliminary only and subject to formal written confirmation by Nomura. Nomura reserves the right to monitor e-mail communications through its networks (in accordance with applicable laws). No confidentiality or privilege is waived or lost by Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is a reference to any entity in the Nomura Holdings, Inc. group. Please read our Electronic Communications Legal Notice which forms part of this e-mail: http://www.Nomura.com/email_disclaimer.htm