[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re:Re: how can I compare two xml files ?
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Sat, 21 Apr 2001 02:43:57 +0100
compare tags in 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.