We faced the same situation once, we wrote a script using Jdom it will take a node from the file 1 and parse the next XML. This happens in a recursive fashion. ( Dont know may be it's a expensive approach ) Even Text pad editor was helful, it checks the differences between two files. [ November 09, 2005: Message edited by: Srinivasa Raghavan ]
thanks for giving the approches, here i have to take the two transations difference data i mean to say before the transationa and after transation, what is the data is modified. based on modified data i have to create the xml. these things i have to do throug programatically , because these transations include the data bae operation, i am useing oracle 9i
i can do any thing with oracle
i mean comapre the data and generate the xml in back end it self
please help me?
Joined: Jan 29, 2003
I tried this once but didn't go very far with it. My idea was ...
Now you have to define "match". Is it a match on the tag? On some or all of the attributes? On a simple String value? I think that's where I gave up on the XML I wanted to compare ... it had many repeats of the same tag name so I had to drill into attributes and children to even match two of them. Ick.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi