1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <project name="DocBook XSLT 1.0 stylesheets - XHTML" default="all">
\r
4 <property name="dbroot.dir" value="${ant.file}/../.."/>
\r
5 <import file="../tools/build-shared.xml"/>
\r
7 <target name="all" depends="html2xhtml">
\r
10 <target name="html2xhtml">
\r
11 <echo>Building XHTML stylesheets from HTML ones...</echo>
\r
12 <xslt style="html2xhtml.xsl" destdir="." basedir="../html">
\r
13 <factory name="com.icl.saxon.TransformerFactoryImpl"/>
\r
14 <classpath refid="saxon.classpath"/>
\r
15 <include name="*.xsl"/>
\r
16 <mapper type="flatten"/>
\r
18 <copy file="../html/docbook.css.xml" todir="."/>
\r
19 <xslt in="../html/docbook.xsl" out="docbook-no-doctype.xsl" style="html2xhtml.xsl">
\r
20 <factory name="com.icl.saxon.TransformerFactoryImpl"/>
\r
21 <classpath refid="saxon.classpath"/>
\r
22 <include name="*.xsl"/>
\r
23 <mapper type="flatten"/>
\r
24 <param name="include.output.doctype" expression="0"/>
\r
29 <target name="clean">
\r
32 <include name="*.xsl"/>
\r
33 <include name="docbook.css.xml"/>
\r
34 <exclude name="html2xhtml.xsl"/>
\r