Re: changing DOM Implementation - compileoptions with ant?
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
You can use an options.xmlc file and add...
-dom xerces
or in the XML style for the options.xmlc file...
<documentClass dom="xerces"/>
make sure to use the "options" attribute on the <xmlc> task to specify the
path to the options.xmlc file.
See the tomcat example application in the download for XMLC-2.2alpah4 for
example usage...
http://debian-sf.objectweb.org/project/showfiles.php?group_id=49
Jake
At 12:52 PM 3/28/2003 +0100, you wrote:
>Hi XMLC-Professionals,
>
>can anybody tell me how xmlc compile-options
>can be used with ant?
>I am using following target:
><target name="xmlc" depends="prepare" description="generate java source
>files from html templates">
> <echo message="xml compiling"/>
> <xmlc srcdir="sources/web"
> destdir="${build.classes}"
> includes="**/*.htm*"
> sourceout="${prebuild.dir}/src"/>
> <!--verbose="true"/-->
></target>
>how can I change the dom implementation from lazydom to Xerces?
>
>thank you all for help!
>Florian