Just get the node where you want to add the new node into an XMLListcollection and append the new node to this XMLListcollection.......
On Sun, Nov 16, 2008 at 7:45 PM, sheetal <[EMAIL PROTECTED]> wrote: > > I am not able to add child to the element which is a group member > already.That means i am adding a level 3 child. > > [Project] > [Task taskId="1" startDate="Sat Oct 25 18:39:49 GMT+0530 2008" > endDate="Sat Oct 25 18:39:49 GMT+0530 2008" effort="1 hr" > resources="Anand" relation="Predecessor " deliverable="No " > taskDescription="one" relatedTask="none" group="p0001"] > [Task taskId="2" startDate="Sat Oct 25 18:39:49 GMT+0530 2008" > endDate="Sat Oct 25 18:39:49 GMT+0530 2008" effort="2 hrs" > resources="Anand" relation="Predecessor " deliverable="No " > taskDescription="one" relatedTask="none" group="p0001"] > [Task taskId="3" startDate="Sat Oct 25 18:39:49 GMT+0530 2008" > endDate="Sat Oct 25 18:39:49 GMT+0530 2008" effort="3 hrs" > resources="Anand" relation="Predecessor " deliverable="No " > taskDescription="one" relatedTask="none" group="p0001"] > > [Task taskId="4" startDate="Sat Oct 25 18:39:49 GMT+0530 2008" > endDate="Sat Oct 25 18:39:49 GMT+0530 2008" effort="1 hr" > resources="Anand" relation="Predecessor " deliverable="No " > taskDescription="one" relatedTask="none" group="p0002"] > > [Project] > This is my XML and i want to add child to the existing child for > ex.element with taskId '1'.This will be at 3rd level. > Can ne one help me with it... > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

