| <?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> |
| |
| |
| <target name="testOutputProperty" depends="init"> |
| <style in="xml/test.xml" |
| out="xml/out/test-out.xml" |
| style="xml/test.xsl"> |
| <outputproperty name="method" value="xml"/> |
| <outputproperty name="standalone" value="yes"/> |
| <outputproperty name="encoding" value="iso8859_1"/> |
| <outputproperty name="indent" value="yes"/> |
| </style> |
| </target> |
| |
| </project> |