Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] how to insert an xmlobject into xml

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] how to insert an xmlobject into xml


Chronological Thread 
  • From: owen nirvana <>
  • To:
  • Subject: Re: [OpenSAML] how to insert an xmlobject into xml
  • Date: Mon, 12 Apr 2010 01:20:56 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=CLfe78XENJTD7i8Ng/+9Z0R07o3MbtH1uZaiAGCt7rDwphxQPINJTU5pYvodN5ZN+V kFyjRNYXyjrteZ9cIJI62p+q9O7XzwurplzmvM2ZAqnM/9cWAm+rYBzXUUMXsH/LaNO6 xq4DISxyy6pW4deXgv9esYSRv4GFzJVI8OwGM=

so , how to do it?
because appendChildElement is not work ,yet



On Mon, Apr 12, 2010 at 1:11 AM, Scott Cantor <> wrote:
> XMLHelper.adoptElement(element, doc); XMLHelper.prettyPrintXML(doc);
>
> but , doc is still the original xml document.

Because adoption doesn't automatically add anything to a DOM tree, it just
reassigns ownership.

-- Scott






Archive powered by MHonArc 2.6.16.

Top of Page