Return-Path: Delivered-To: apmail-xerces-c-users-archive@www.apache.org Received: (qmail 48607 invoked from network); 1 Sep 2009 00:04:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 00:04:17 -0000 Received: (qmail 84065 invoked by uid 500); 1 Sep 2009 00:04:17 -0000 Delivered-To: apmail-xerces-c-users-archive@xerces.apache.org Received: (qmail 84025 invoked by uid 500); 1 Sep 2009 00:04:16 -0000 Mailing-List: contact c-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: c-users@xerces.apache.org Delivered-To: mailing list c-users@xerces.apache.org Received: (qmail 84015 invoked by uid 99); 1 Sep 2009 00:04:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 00:04:16 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 68.99.120.47 is neither permitted nor denied by domain of mikee@s2technologies.com) Received: from [68.99.120.47] (HELO dukecmmtar04.coxmail.com) (68.99.120.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 00:04:07 +0000 Received: from [127.0.0.1] (really [98.173.56.215]) by dukecmmtar04.coxmail.com (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20090831235644.PSOQ28559.dukecmmtar04.coxmail.com@[127.0.0.1]> for ; Mon, 31 Aug 2009 19:56:44 -0400 Message-ID: <4A9C64E1.2020902@s2technologies.com> Date: Mon, 31 Aug 2009 17:03:45 -0700 From: Michael Ellery User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: c-users@xerces.apache.org Subject: generate an XML fragment for a node ? X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090710-0, 07/10/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org I'm wondering if there is a class or function in xerces that could be used to generate a string that represents the XML fragment for a given DOMElement node (that includes all children). I have a need to generate fragments from an existing DOM and would find this very useful. If this is covered in the docs/faqs somewhere, feel free to point me to an appropriate resource. Thanks, Mike Ellery