Apache Ant/Passing Parameters to XSLT

Motivation
You want to call a transform with a set of parameters. You want to be able to set these parameters from a build file.

Build File Target
 Running conditional XSLT test      

Input null.xml
XSLT must have an input, but this example does not use it.

XSLT
        Test of Passing Three Parameters (boolean, string, integer) Test of Passing Three Parameters (boolean, string, integer) The following parameters have been set by the Apache Ant build file.  <li>Parameter1: <xsl:value-of select="$Parameter1"/> </li> <li>Parameter2: <xsl:value-of select="$Parameter2"/> </li> <li>Parameter3: <xsl:value-of select="$Parameter3"/> </li> </ul> </xsl:template> </xsl:stylesheet>