This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re:Re: how can I compare two xml files ?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re:Re: [xsl] how can I compare two xml files ?
- From: Peter Flynn <peter at silmaril dot ie>
- Date: Sat, 21 Apr 2001 02:43:57 +0100
- Organization: Silmaril Consultants
- References: <55CB9FEAE87DD411A83200508BDF0DFE06D178@himail8.hi.bosch.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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