For whatever reason, xalan (of unknow version) which was ahead of my xerces.jar in my cpath was cause the attributes to be grafted from the src tree to the destination tree without there values. I presume there is some dup class in xalan.jar that was overriding the xerces version - and this dup has a bug.
Moveing xerces (1.4) jar to the front cause my attribute value to appear. I retried xerces 1.30 and that had the same problem, I haven't tried 1.31. Thanks for the help. -Fred "Swanson, Brion" wrote: > Then it's possible (although I thought this was fixed in 1.3.1 (or > something)) that 1.4.0 has regressed. I know I've heard a few other > complaints on the dev mailing list for Xerces about 1.4.0 having regressed > in other areas. > > I might suggest trying to extract the last version of 1.3.x from CVS and > trying that. An alternative to guessing would be to check the Bugzilla > database to find your bug and the release in which it was fixed. > > Hope this helps. > > Brion Swanson > > -----Original Message----- > From: Fred Welland [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 05, 2001 11:03 AM > To: [EMAIL PROTECTED] > Subject: Re: HOW TO: graft one DOM tree on to another??? > > Actually, > > my previous message was a bit incorrect. importNode does copy the > attributes > but the values are not coming over just "". > > I just grabbed xercer 1.4.0....that does the same thing.... > > HELP!!!! > > -Fred > > "Swanson, Brion" wrote: > > > This was fixed in a patch. You might check the latest release (I don't > know > > if it had the change), but it's certainly in CVS for the taking. > > > > Brion Swanson > > > > -----Original Message----- > > From: Fred Welland [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 05, 2001 10:23 AM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Re: HOW TO: graft one DOM tree on to another??? > > > > Hi Jonathon, > > > > That more or less worked. In my previous attempts with importNode - I was > > doing the import but really not adding it to the doc (ala appendChild)... > > > > HOWEVER, my attirubutes are not coming from the subtree into the main > > tree...Any ideas on this one... > > > > Thanks for your help. > > > > -Fred > > > > [EMAIL PROTECTED] wrote: > > > > > Hi Fred, > > > > > > the DOM API specifies that importNode returns a Node itself. I > had > > > exactly the same problem as you... > > > Try appending the imported node like this: > > > > > > rootElement.appendChild(rootDocument.importNode(snippetElement, > > > true)); > > > > > > The 'true' argument is for deep-importing of the snippetElement, > > > i.o.w. it imports all children of snippetElement as well. > > > > > > Hope this works, > > > > > > Jonathan > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
