From: Derek F. <fo...@hu...> - 2002-09-04 13:31:31
|
Can I use createNode to insert a node just where I want one? I have a DOM representing this: <test> <author> Derek Fountain </author> </test> and I want this: <test> <author> Derek Fountain </author> <description> Test information </description> </test> More generally, I want to insert a node as a child of a parent node based on critera such as "make this the 2nd child element of parentNode". Can I do that with createNode? If not, what's the best way? -- The past: Smart users in front of dumb terminals |