Title: Message
yes I'm passing true...the function is traversing the tree, but for some reason it's just missing the attributes in the <ResourceID> nodes, and I have no idea why.
 
Claire
----- Original Message -----
Sent: Wednesday, October 22, 2003 5:13 PM
Subject: RE: importNode() problem

Are you passing the 2nd argument as true ?
 
importNode(somenode,true);
-----Original Message-----
From: Claire Suttle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 5:12 PM
To: [EMAIL PROTECTED]
Subject: importNode() problem

Hi,
 
I'm having a problem with the importNode() function...I'm calling it with the "deep" option set, but I'm finding that for some of the nested children, the attribute values aren't being copied over.
 
so, printing the node out before importing I get:

<View><MetaLink>http://www.geoviz.com</MetaLink><ResourceIDs><ResourceID id="1"/><ResourceID id="7"/></ResourceIDs><EyePoints/></View>

but printing the node out after importing, I get:

<View><MetaLink>http://www.geoviz.com</MetaLink><ResourceIDs><ResourceID id=""/><ResourceID id=""/></ResourceIDs><EyePoints/></View>

Does anyone have any ideas why this could be?

Thanks,

Claire

 
 

Reply via email to