![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Merge/Synchronize XML Files [Thread Next] Re: Merge/Synchronize XML FilesTo: NULL Date: 11/3/2006 2:35:00 PM sry im not very familyar with xslt where should i begin? any samples? Meelis "Rick" <Rick@L...> wrote in message news:%231WzML0$GHA.1012@T...... > Why don't you try writing an XSLT transformation that combines all the > nodes in <test> and then eliminates the duplicates? I think you could > either combine the two xml documents prior to the transform, or perhaps by > importing them from within the XSLT. > > You can then do an xmlDoc.DocumentElement.Transform... > > Rick > > "Meelis Lilbok" <meelis.lilbok@d...> wrote in message > news:uvG8V2z$GHA.2328@T...... >> Hi is for synchronizing two xml files any fast solution? >> >> Lets say i have 2 xml files 1.xml and 2.xml >> >> 1.xml contianes >> >> <test> >> <t id="1">Hello</t> >> <t id="2">World</t> >> <t id="3">Good bye!</td> >> </test> >> >> 2.xml containes >> <test> >> <t id="1">Hello</t> >> <t id="2">World</t> >> </test> >> >> After synchronizing 2.xml must look likt this >> <test> >> <t id="1">Hello</t> >> <t id="2">World</t> >> <t id="3">Good bye!</td> >> </test> >> >> At the moment i use >> For Each >> Next >> and this is too slow, if file containes about 1000 <t> nodes >> >> Regards; >> Meelis >> >> >> > > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
