One approach is to canonicalize the documents before comparing. If two documents are identical after canonicalization, they're semantically equivalent. (If they _aren't_, they may still be semantically equivalent depending on what your application considers meaningful.)
You may want to look at how Xylem's test suite handles diffing XML output against the "gold" files; that's a stab in this direction, though it isn't a complete solution. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
