Hi James,

As you may have seen by my previous posts on the list,
I managed to make some progress :)))

> check out the manual page for all options 
> http://ant.apache.org/manual/CoreTasks/style.html

I was able to define my definitions in a working way at least:

<xslt basedir="source" destdir="added" 
style="stylesheets/add_versioning_information.xslt" 
classpath="net.sf.saxon.Transform" processor="trax" extension=".xml" 
includes="*.xml" excludes="*/*.xml"/>
 
The only issue to solve is now the <uptodate> property....
I don't know where to set this property or where to use it in my target....

Here is my build file so far:

<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Content Produktion" default="GLP_Legislation" basedir=".">
        <description>für die Plattformen "GLP", "Recht Online" und "ARD 
Online"</description>
        <target name="GLP_Legislation" description="Normen, Verordnungen, 
Staatsverträge,...">
                <echo>==============================</echo>
                <echo>Transforming Legisations</echo>
                <echo>Processing...</echo>
                <echo>==============================</echo>
                <mkdir dir="added"/>
                <xslt basedir="source" destdir="added" 
style="stylesheets/add_versioning_information.xslt" 
classpath="net.sf.saxon.Transform" processor="trax" extension=".xml" 
includes="*.xml" excludes="*/*.xml"/>
                <echo>Adding version information done</echo>
                <mkdir dir="splitted"/>
                <xslt basedir="added" destdir="splitted" 
style="stylesheets/split_legislation.xslt" classpath="net.sf.saxon.Transform" 
processor="trax" extension=".xml"/>
                <!-- 
===================================================================        -->
                <!-- Delete unneeded files created during splitting             
                                        -->
                <!-- 
===================================================================        -->
                <delete>
                        <fileset dir="splitted">
                                <patternset>
                                        <include name="*.xml"/>
                                </patternset>
                                <size value="0" units="Ki" when="equal"/>
                        </fileset>
                </delete>
                <delete dir="added"/>
                <echo>Splitting done</echo>
                <mkdir dir="dates_converted"/>
                <xslt basedir="splitted" destdir="dates_converted" 
style="stylesheets/convert_date.xslt" classpath="net.sf.saxon.Transform" 
processor="trax" extension=".xml"/>
                <delete dir="splitted"/>
                <echo>Converting dates done</echo>
                <mkdir dir="cleaned"/>
                <xslt basedir="dates_converted" destdir="cleaned" 
style="stylesheets/clean_structure.xslt" classpath="net.sf.saxon.Transform" 
processor="trax" extension=".xml"/>
                <delete dir="dates_converted"/>
                <echo>Structure cleaned</echo>
                <mkdir dir="resolved"/>
                <xslt basedir="cleaned" destdir="resolved" 
style="stylesheets/resolve_keyword_links.xslt" 
classpath="net.sf.saxon.Transform" processor="trax" extension=".xml"/>
                <delete dir="cleaned"/>
                <echo>Keyword links resolved</echo>
                <mkdir dir="normalized"/>
                <xslt basedir="resolved" destdir="normalized" 
style="stylesheets/normalize_space.xslt" classpath="net.sf.saxon.Transform" 
processor="trax" extension=".xml"/>
                <delete dir="resolved"/>
                <echo>Document normalized</echo>
                <xslt basedir="normalized" destdir="result" 
style="stylesheets/convert_to_LNDE.xslt" classpath="net.sf.saxon.Transform" 
processor="trax" extension=".xml"/>
                <delete dir="normalized"/>
                <echo>Conversion finished</echo>
        </target>
</project>


Can you tell me, where to put the <update>?

Thanks a lot for your patience!

wbr,
Roman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to