[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Poor man's test suite
I couldn't help but test if it was possible to feed all the relevant files to my stylesheet in one go using Saxon 9b only and starting with "xmltest/valid/sa". It works using: saxon:compile saxon:transform saxon:expression saxon:eval <xsl:variable name="expression" select="saxon:expression('concat($p1, $p2, $p3, $p4)')"/> <xsl:value-of select="for $a in 1 to 119 return saxon:transform(saxon:compile-stylesheet(doc('identity-template.xsl')), doc(saxon:eval( $expression, 'xmlconf/xmltest/valid/sa/', if($a lt 10) then '00' else if ($a lt 100) then '0' else '', $a, '.xml')))"/> Test file 012.xml must be fixed first, it is not well-formed. Cheers, Jesper Tverskov www.xmlplease.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
|