<style>
The <style> task enables you to automate the application of a stylesheet on an XML document using a specified XSLT processor. It can be used with an individual XML document (using the in and out attributes) or with multiple files (using the fileset attributes).
The <style> task requires external libraries to be installed, depending on which processor is chosen. For example, Apache’s XML Xalan processor requires the Xalan JAR (http://xml.apache.org/xalan-j/index.html) as well as the Ant optional JAR. Note that when using Xalan 2, the processor attribute should be set to trax (Xalan 2 has a trax interface).
A full listing of supported attributes is provided in Table 4.74.
Attributes | Description ... |
---|
Get Ant Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.