<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="changes" page="intro" subpage="ant-93"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: Running Saxon from Ant</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: Running Saxon from Ant"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>Running Saxon from Ant</h1>
      <p>The custom Ant task for Saxon is no longer supported. Instead, all the required functionality is available through the standard Ant <code>xslt</code>
task. In particular, it is now possible (with Saxon-PE and Saxon-EE) to specify the name of a Saxon configuration file as an attribute child of the
<code>factory</code> element, which provides full control over the Saxon configuration used to run the transformation.</p>
      <p>A new class <a class="bodylink" href="../../javadoc/com/saxonica/jaxp/ValidatingReader.html"><code>com.saxonica.jaxp.ValidatingReader</code></a> has been introduced. 
                  This implements the SAX2 <code>XMLReader</code>
interface and accepts a number of Apache-defined properties, allowing it to be used as a plug-in replacement for Xerces to support
the Ant <code>xmlvalidate</code> and <code>schemavalidate</code> tasks, using the Saxon schema processor including the option of
using XSD 1.1 for validation. For details see <a class="bodylink" href="../../schema-processing/validation-from-ant.xml">Running validation from Ant</a>.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="sql-93.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>