Validation of all possible results of XSL transformation
843834Apr 8 2008 — edited Apr 9 2008Hallo ladies and gentlemen,
I spent a lot of time trying to find existing solution for very simple and in my opinion common task � validate XSL files that transform XML to XML. It's needed to be sure that all variants of transformed XML files will be valid (because there are a lot of variants of input data so there are a lot of variants of output data).
The idea has 2 steps.
The first step is to get the list of input XPaths from XSL (XPaths from input XML which are used in transformation process) and list of output XPaths from XSL (XPaths from output XML which are created in transformation process).
The second step is validation XPaths from input XML (that can be based on XSD of input XML) and validation XPaths from output XML (that can be based on XSD of output XML).
Thanks in advance,
Sergey.