Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to compare two xml files using xsl

From: "Dimitre Novatchev" <dimitren@---.---.-->
To: NULL
Date: 9/2/2007 9:43:00 PM

> It's a common question but quite a difficult thing to do. Unless you are 
> an extremely proficient XSLT programmer I'd try searching for an already 
> written one.
> (I haven't come across one myself but have seen a number of people that 
> "were going to write one"...

The difficulty is not that this is a difficut problem to solve, but because 
it is difficult to formulate precisely.

Remember how many times the deep-equal() function was re-defined and even 
deleted from the F & O working drafts.

So the "normative" answer might be to use the XPath 2.0 function 
deep-equal().

Certainly, at the moment of writing this there is no release Microsoft 
implementation of XPath 2.0 and of the F & O (because the question is being 
asked in a Microsoft newsgroup).


Cheers,
Dimitre Novatchev


"Joe Fawcett" <joefawcett@n...> wrote in message 
news:ebXVNKY6HHA.5184@T......
> "Venu" <venuc@h...> wrote in message 
> news:OhxI5XV6HHA.3716@T......
>> Hi,
>>
>> I would like to know, how to compare two xml files
>>
>> for differences and output the difference result in a third xml using
>>
>> xsl.
>>
>> Just wondering, whether there is a generic way of doing it ?
>>
>> regards
>>
>>
>> Venu
>>
> It's a common question but quite a difficult thing to do. Unless you are 
> an extremely proficient XSLT programmer I'd try searching for an already 
> written one.
> (I haven't come across one myself but have seen a number of people that 
> "were going to write one"...
>
>
> -- 
>
> Joe Fawcett (MVP - XML)
>
> http://joe.fawcett.name
>
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent