xsl-list
[Top] [All Lists]

Re: Re: Comparing two xml documents

2003-03-12 15:07:05
Err, sorry if I sounded ungratefull; I appreciate any help and the link might be very well worth remembering for later times (though if I get this to work, it will not be neccessary). I am very tired at the moment, needing to be finished with this for tomorrow.

I have a further question, though:

What is the differenct between:
<xsl:template match="*">

and

<xsl:template match="node()">

I have looked at the id transformation that has come up a couple of times the last few days and it says: match="@*|node()" where I presume the @* is for all attributes (am I wrong in this)?

Well, and yet another question :)

When I am in the context of an xml file that has been "included" by the document function, how do I compare with elements in my source xml document? Or should I "include" them both in my xsl stylesheet transforming a dummy source xml?

Thanks again (I hope) :)
Ragulf


Hi Dimitre,

Well, one reason was that I did not know the site.

Another reason, now that I know the site, is because the files are way over 200 KB which are the maximum sizes (or size) for the files to be compared.

Well, it seems to be an all night project for me, then...

Ragulf :-|

>
> I have two flat xml documents, that I want to compare - let's call them A
> and B.


Why not try to use xmlDiff
http://apps.gotdotnet.com/xmltools/XMLDiff/


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


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