>Read the messages David. Looks like AntDoc wants to use an XSL 2.0 >processor, and the only one I know for Java is Saxon, so it must be in >your path so that the Trax API picks it up ahead of the default XSL >processor of the JDK, which is a 1.0 one only. --DD <path id="antDoc.classpath"> <pathelement location="${lib.downloaded.dir}/log4j-${log4j.v}.jar"/> <pathelement location="${lib.dir}/saxon.jar"/> <pathelement location="${lib.dir}/AntDoc.jar"/> </path> <target name = "antdoc" depends = "set-current-time" description = "Generates the documentation of build file" > <mkdir dir="${doc.dir}/antDoc"/> <taskdef name = "AntDoc" classname = "org.ed.pack.ant.AntDoc" classpathref = "antDoc.classpath"/> <AntDoc destination = "${doc.dir}/antdoc" buildfile ="build.xml"> </AntDoc> </target> I have tested also adding the property processor ="com.icl.saxon.TransformerFactoryImpl" with the same result. As you can see saxon.jar is on the classpath. Probably it has to come first on the boot classpath (before the JDK), but I don't know how to do that with ant. Do you have any idea about how to do that? Thanks, David
--------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free.