This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:Re: how can I compare two xml files ?


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. 

///Peter

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]