| <?xml version="1.0" encoding="UTF-8" ?> |
| |
| <project name="xslt" default="xslt" basedir="."> |
| <target name="init"> |
| <mkdir dir="xml/out"/> |
| </target> |
| |
| <target name="teardown"> |
| <delete dir="xml/out"/> |
| </target> |
| |
| <target name="testCatchNoDtd" depends="init"> |
| <style basedir="xml" destdir="xml/out" |
| includes="about.xml" |
| extension=".txt" |
| style="xml/doc.xsl"> |
| </style> |
| </target> |
| |
| <xmlcatalog id="xdocs.catalog"> |
| <dtd publicID="-//stevo//DTD doc 1.0//EN" |
| location="xml/doc.dtd"/> |
| </xmlcatalog> |
| |
| <target name="testCatalog" depends="init"> |
| <style destdir="xml/out" |
| includes="about.xml" |
| extension=".txt" |
| style="xml/doc.xsl"> |
| <xmlcatalog refid="xdocs.catalog"/> |
| </style> |
| </target> |
| |
| |
| </project> |