![]()
|
Descriptiontask uses the SAX2 parser implementation provided by JAXP by default (probably the one that is used by Ant itself), but one can specify any SAX1/2 parser if needed.This task supports the use of nested <dtd> elements which are used to resolve DTDs and entities. Parameters
Nested Elementsdtd<dtd> is used to specify different locations for DTD resolution.
Examplesclassname="org.apache.xerces.parsers.SAXParser"> classpath="lib/xerces.jar"> <fileset dir="src" includes="style/*.xsl"/> <dtd publicId="-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" location="struts-config_1_0.dtd"/> <dtd publicId="-//ArielPartners//DTD XML Article V1.0//EN" location="com/arielpartners/knowledgebase/dtd/article.dtd"/> Copyright © 2001-2002 Apache Software Foundation. All rights Reserved. |