In general, the notion of "equality" for XML documents is highly
application dependent. Even two documents that are byte-per-byte the
same are not always equal for all purposes. On the flip side, there are
almost always multiple ways to represent the same content such that many
(in fact, infinitely many) different documents would be considered to be
the same by any given XML aware process. However, different processes
have different definitions of "the same." Before you can consider
whether or not it's possible to write a stylesheet that tests two
documents for equality it's essential to define exactly what you mean by
equal.
--
Elliotte Rusty Harold elharo(_at_)metalab(_dot_)unc(_dot_)edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--