-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
61 lines (61 loc) · 3.03 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="tei2html">
<property name="index" value="./data/meta/about.xml"/>
<property name="target" value="./html"/>
<delete>
<fileset dir="${target}" includes="*.html" />
</delete>
<xslt style="./xslt/editions.xsl" basedir="./data/editions" destdir="${target}" includes="*.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt style="./xslt/meta.xsl" basedir="./data/meta" destdir="${target}" includes="*.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index}" out="${target}/search.html" style="./xslt/search.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index}" out="${target}/index.html" style="./xslt/index.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index}" out="${target}/toc.html" style="./xslt/toc.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<!--<xslt in="./data/imprint.xml" out="${target}/imprint.html" style="./xslt/imprint.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>-->
<xslt in="./data/editions/entry__1925-02-12.xml" out="${target}/imprint.html" style="./xslt/imprint.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listperson.xml" out="${target}/listperson.html" style="./xslt/listperson.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listwork.xml" out="${target}/listwork.html" style="./xslt/listwork.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listplace.xml" out="${target}/listplace.html" style="./xslt/listplace.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listplace.xml" out="${target}/calendar.html" style="./xslt/calendar.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<replace dir="${target}" value="">
<include name="*.html"/>
<replacetoken> xmlns=""</replacetoken>
</replace>
<copy todir="${target}" flatten="true">
<fileset dir="./data/">
<include name="**/*.xml"/>
</fileset>
</copy>
</project>