XML-DIFF XSLT script 2003-06-02 - By Karsten Theis
Hi,
I'm looking for an XML-DIFF tool witch can be used to test the result of an XSLT transformation. I want to call the tool from an automatic test and it should compare the actual result against an XML-file.
The main problems of standart XML-DIFF tools are: - can't be called from a batch programm or - result can't be procesed by a batch programm - show different IDs, but this is no error (I use generate-id(), therefor IDs may differ between different runs on the same input)
My Idea was to write an XSLT, witch compares two XML-files. But I did not find an easy way to process the XML-schema to find out witch elemets are IDREFs.
So, if somebody has a good idea, please tell me.
Ciao, Karsten
|
|