Re: [OT] Re: XML Help

2006-06-15 Thread Dave Newton
Krishnakanth wrote: > I want to compare each of the key values with the previous XML(ie, > from the DB) and if particular node is already existing in the > PreviousXML remove that node and create a new node with the new values > and insert in to the PreviousXML.If the hashtable key values are not >

Re: [OT] Re: XML Help

2006-06-14 Thread Krishnakanth
re not in the PreviousXML I can directly create the node and append to the PreviousXML. This is my target... Regards, Krishna - Original Message - From: "Meenakshi Rm" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 09, 2006 5

Re: [OT] Re: XML Help

2006-06-09 Thread Meenakshi Rm
I have had such scenarios, sometimes in your xml if you have tabs or other escape characters it adds them on as text nodes while parsing. So you may have to modify your xml to be free of such characters. To find it out print out each node type, you will be able to resolve. Hope this helps. Rega

[OT] Re: XML Help

2006-06-09 Thread Dave Newton
Krishnakanth wrote: > Note : I just took the getElementByTagName("table") that time I got the > length as 2 it is ok.but after that I iterate that NodeList in a for loop and > take NodeList.item(i).getChildNodes, Now I get some 8 or 10 childsSo I'm > totally confused > > Any Idea Please