Re: DOM appendChild question
"David E. Cleary" wrote: > > 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? It is a bug in the DOM spec. See the errata list , core-6, core-7 and core-8. Philippe  http://www.w3.org/2000/11/DOM-Level-2-errata
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format