Subversion Repositories XServices

Rev

Rev 6 | Rev 137 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?xml version="1.0"?>
<project default="create-doc" basedir=".">

        <property name="current-loc" location="." />
        <property name="workspace" location=".." />
        <property name="htmldir" value="${current-loc}/doc/html" />
        <property name="docbookdir" value="C:\JAVA-DEV\docbook-xsl-ns-1.76.1\html\" />
        <property name="docbooksource" value="${current-loc}/doc"/>
        <property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />

    
        <!-- XSLT Chunking Properties -->
        <property name="base.dir" value="${htmldir}"/>
        
        <target name="merge">
                <xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml"
                              out="${docbooksource}/BruteXServices_User_Guide.dbk"
                />
        </target>
        
        <target name="clean-doc">
                <delete dir="${htmldir}" />
                <mkdir dir="${htmldir}"/>
        </target>

        <target name="create-doc" depends="clean-doc, merge">

                <xslt force="true" style="${docbookdir}/../toHTML.xsl" 
                        in="${docbooksource}/BruteXServices_User_Guide.dbk"
                        out="${htmldir}/index.html">
                        <factory name="${xalan}" />
                        <param name="base.dir" expression="${htmldir}/"/>
                        <param name="use.id.as.filename" expression="1" />
                </xslt>
        </target>

</project>