<s3 title="Changes since &xslt4j; version 1.2.1">
<ul>
  <li>Dmitry Voytenko submitted a fix for a bug (a "not serializable exception") that occurred when using the command-line utility to set stylesheet parameters with a compiled stylesheet. Accordingly, it is now possible to compile a stylesheet with the command-line utility <code>-lxcout</code> flag and then set a stylesheet parameter and perform a transformation using the <code>-lxcin</code> and <code>-param</code> flags. See <link idref="commandline" anchor="compiledstylesheet">Using a compiled stylesheet</link>.<br/><br/></li>
  <li>Working with Gary Peskin, Myriam Midy and Scott Boag have added two XSLTProcessor methods and modified the behavior of an existing XSLTProcessor method.<br/><br/>
When you use an XSLTProcessor object to perform multiple transformations, you must reset the XSLTProcessor between each transformation. The existing <jump href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html#reset()">reset()</jump> method (with no arguments) also clears all stylesheet parameters that you have set with either of the <jump href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html#setStylesheetParam(java.lang.String, org.apache.xalan.xpath.XObject)">setStylesheetParam()</jump> methods. In response to requests for more control over clearing stylesheet parameter settings, we have added two methods:<br/><br/></li>
  <ul>
    <li>The XSLTProcessor <jump href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html#reset(boolean)">reset(boolean resetParams)</jump> method lets you specify whether stylesheet parameters are to be cleared during a reset operation.<br/><br/> 
    If you do not want to clear the stylesheet parameters during the reset, call reset(false).<br/><br/></li>
    <li>The XSLTProcessor <jump href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html#processStylesheet(org.apache.xalan.xslt.XSLTInputSource)">processStylesheet(XSLTInputSource stylesheet)</jump> method uses this new method to perform a reset without clearing stylesheet parameter settings. The processSytlesheet() method used to clear stylesheet parameter settings.<br/><br/></li>
    <li>The XSLTProcessor <jump href="apidocs/org/apache/xalan/xslt/XSLTProcessor.html#resetTopLevelParams()">resetTopLevelParams()</jump> method clears stylesheet parameter settings without performing a general reset of the XSLTProcessor.</li>
  </ul>
</ul>
<p>If you run across a problem with &xslt4j;, we strongly encourage you to write a patch and submit it to <human-resource-ref idref="xalandev"/>. We will review it to make sure it doesn't break something else, and (assuming it doesn't) include it in our next release. In the interest of fixing bugs, adding enhancements, and addressing a host of thorny design issues, we sincerely want (and need!) your active participation in the ongoing development of Xalan.</p>
</s3>