[Home] [By Thread] [By Date] [Recent Entries]

  • From: "David E. Cleary" <davec@p...>
  • To: xml-dev@l...
  • Date: Mon, 19 Mar 2001 16:52:30 -0500

Should it be possible to append a node to itself?

I.E. a.appendChild(a);

The DOM specifies that it is an error to try and append an ancestor of a
node as a child, but says nothing about whether the nodes are one in the
same. Is this a bug in the DOM spec, or should this work?

David Cleary
Progress Software


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member