|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: ANN: 'Testing XSLT' training course PDF available
> I would ideally like - Have the original stylesheet (which is > undergoing testing) *unmodified*. > Write a unit testing stylesheet (which is like 1 unit test), > which can test some aspect of the original stylesheet (like a > function), or possibly test the whole stylesheet as a unit > (and use deep-equal() function to compare the expected output > with the received output - but this seems not possible > without inserting a named template in the main stylesheet). You can always put the test template in a module that includes or imports the stylesheet under test, if that's what you prefer. (I prefer to put it in the main stylesheet so it doesn't get mislaid...) Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








