View Single Post
  #2 (permalink)  
Old April 20th, 2004, 02:42 AM
pgtips pgtips is offline
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

you can use the createNode() or createElement() methods to make the new items. then set their values - if you want to add attributes then there's a createAttribute() method too. finally use the appendChild() method to insert the new node into the appropriate place in the DOM.

I can give you a more concrete example if you show me your XML and your current code (I don't have the book).

hth
Phil