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