Subject: Re: [xsl] Poor man's test suite From: "Jesper Tverskov" <jesper@xxxxxxxxxxx> Date: Thu, 20 Dec 2007 22:13:20 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Poor man's test suite, David Carlisle | Thread | [xsl] xsl-fo hidden areas within pd, Werner Putzhuber |
RE: [xsl] XSLTPROC performance, Michael Kay | Date | [xsl] Removing dead targets from An, Heath, Graham |
Month |