Re:Re: [xsl] how can I compare two xml files ?

Subject: Re:Re: [xsl] how can I compare two xml files ?
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Sat, 21 Apr 2001 02:43:57 +0100
On Thu, 19 Apr 2001, André Mengel wrote:

[I had asked]
> > Do you mean just text (character data) content, or element
> > content as well? Eg
> > 
> >    <para>He said he was happy.</para>
> >    <para>He said he was <q>happy</q>.</para>

> Referring to your second example I think you mean mixed content type.

Yes, sorry, that was brain not having enough caffeine.

> If this is the case, I have to answer that it is not necessary to 
> support mixed content type.

In that case just strip all markup and compare.

> So also the names of the tags and the attributes have to be the same.

Ah. That's different. You need a stepwise compare. Someone has
written one, I think, but not in XSL as far as I remember. 


 XSL-List info and archive:

Current Thread