[EMAIL PROTECTED]:
> As you say the AbstractNode.importNode method initially creates an Attr
> without a value but then, I think, because the deep flag is true it performs
> getFirstChild() on the Attr node ( and gets an AbstractParentNode ) it then
> recurses with this node, this node is handled as a TEXT_NODE and the result
> (ie. the attribute value) is added to the Attr node. 

I never knew that attributes in the DOM were represented this way!  The
DOM 2 Core spec bears out your explanation.

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to