Hi Experts, I come across a different requirement. I have to create a 'n' number of HTML files, each for the node available in XML file. Let me explain you guys/gals with XML file and the XSLT file which has to be done.
My XML File is like this., <validation> <configuredtests> <test name="login"/> <test name="analyse"/> <test name="process"/> </configuredtests> </validation> Here i have to create the HTML file namely login.html, analyse.html and process.html. These nodes are dynamically created one and not the static. So as to create HTML file we do use XALAN:write. In XSLT file, what i have to do this. I tried with following thing on XSLT file and it is not working. so can u help me in how to get those things. <xsl:stylesheet> <xsl:variable name="testloop" select="/validation/configuredtests/test" /> <xsl:template match="/"> <xsl:for-each select="$testloop"> <xsl:variable name="testname" select="@name"/> <xalan:write select="concat($dir,'/',$testname)" /> </xsl:for-each> </xsl:template> </xsl:stylesheet> But it is not creating the HTML files. Please help me out how to create the HTML files from the values which are populated dynamically in XML file. Thanks in Advance, npselvan -- View this message in context: http://www.nabble.com/Doubt-on-adding-XALAN%3Awrite-between-XSL%3Afor-each-tp24716912p24716912.html Sent from the Xalan - J - Users mailing list archive at Nabble.com.