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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--