[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing 2 xml files
I am not aware of such a function. I am interested in your question as a possible DOM requirement, so I'd ask for clarification on a few details: Would like DOM to have some type of optimized "equals" function, or would you prefer a stand-alone function able to make this determination strait from the files without building a DOM hierarchy? Presumably just using a standard diff utility is not enough, so you would probably like some kind of normalization like canonical XML. Depending upon the degree of normalization required, building a DOM might be easiest. If you want white space normalization in mixed content, then your requirements become application-specific. Do you need to be able to diff arbitrary subtrees of a document, or just the entire document? Is simple equals / not equals enough, or do you need to identify specific differences, and if so, how do you choose the granularity or scope of the differences, and the identity of the next non-differences. Ray Whitmer ray@x... On Thu, 10 Feb 2000, tmmet tvp wrote: > Hi, > Is there any strainght function/method to compare 2 xml files... > Instead of traversing the entire tree using DOM....Any ideas/suggestions > will be greatly helpful for me...Thanks in advance... > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|