Hi,Its me again, Someone know how i pass parameters to transformation?for example, the code in Java for transfomation:
transformer = tFactory.newTransformer( new StreamSource("foo.xls")); transformer.transform( new StreamSource("foo.xml"), new StreamTarget("moo.xml"));
and te transformation
<?xml version="1.0"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method="xml" indent="yes"/><xsl:template match="/"><foo> <xsl:for-each select="/thing"> <xsl:if test="name = 'moo' "> <moo/> </xsl:if> </xsl:for-each></foo></xsl:template></xsl:stylesheet>
Well, on the contrary compare if name = 'moo', i need passe to transfomation the name for compare.Thanks again...