The Ant XInclude task allows Ant build files to apply XInclude processing to XML files. It is based on the XIncluder project.
This Ant task has been developed with XIncluder 1.0d11.
XInclude 1.0 is a W3C Candidate Recommendation at the time of writing. See http://www.w3.org/TR/xinclude/.
To get started using the XInclude task as soon as possible, take the following steps:
lib
directory of your Ant
installation.taskdef
within
the <project />
like this:
<taskdef name="xinclude" classname="org.znerd.xincludetask.XIncludeTask" />
<target />
s:
<xinclude in="in.xml" out="out.xml" />
<xinclude in="in.xml" out="out.xml" encoding="ISO-8859-1" />
<target name="-xinclude-avail">
<available classname="com.elharo.xml.xinclude.SAXXIncluder" property="xinclude.available" />
<fail unless="xinclude.available" message="XInclude engine not available. Please either put the xincluder.jar file in the CLASSPATH for Ant or put it in ${ant.home}/lib. This JAR file is available from http://people.FreeBSD.org/~znerd/xinclude-task/." />
<available classname="org.znerd.xincludetask.XIncludeTask" property="xincludetask.available" />
<fail unless="xincludetask.available" message="XInclude task not available. Please either put the xinclude-task.jar file in the CLASSPATH for Ant or put it in ${ant.home}/lib. This JAR file is available from http://people.FreeBSD.org/~znerd/xinclude-task/." />
</target>
Downloads are distributed as .tar.gz
files. There are
2 distributions. The first contains only the source files and everything else
that is necessary for generating the rest. The second contains generated class
files, a JAR file and API documentation as well.
latest release (0.2) | most recent (0.2) | |
---|---|---|
source | xinclude-task-0.2.tar.gz | xinclude-task-0.2.tar.gz |
source, binaries and docs | xinclude-task-0.2-bin.tar.gz | xinclude-task-0.2-bin.tar.gz |
JAR file | xinclude-task-0.2.jar | xinclude-task-0.2.jar |
Browse API documentation | API docs (0.2) | API docs (0.2) |
If you would like to contact the author, feel free to send an email to:
Ernst de Haan (znerd at FreeBSD dot org
)
$Id: index.html,v 1.17 2003/09/17 10:11:05 znerd Exp $ |