XsltTask, you can run a XSLT transformation on an XML file.
CopyTask, so you can
use all the elements allowed there.
XsltTask is implemented by means of the
XsltFlter and hence relies on PHP5 XSLT support via
libxslt) which must be available in php5. The
XsltTask is equivalent to running command line
xsltproc since that is a frontend for libxslt.
Table B.57: Attributes
|The path where the Xslt file is located||n/a||Yes|
|Whether to resolve entities in the XML document. (see this link for details)||No|
|Whether to resolve entities in the stylesheet.||No|
|Whether to work on HTML or XML.||No|
Note: You can also use all the attributes available for Section B.11, “CopyTask ”.
<!-- Transform docbook with an imaginary XSLT file --> <xslt todir="/srv/docs/phing" style="dbk2html.xslt" > <fileset dir="."> <include name="**/*.xml" /> </fileset> </xslt>