-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
73 lines (71 loc) · 3.37 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
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="tei2html">
<property name="index" value="./data/meta/about.xml"/>
<property name="target" value="./html"/>
<property name="target_xml" value="./html/xml-view"/>
<delete>
<fileset dir="${target}" includes="*.html"/>
</delete>
<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}/search.html" style="./xslt/search.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index}" out="${target}/404.html" style="./xslt/404.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<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}/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/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/listbibl.xml" out="${target}/listbibl.html" style="./xslt/listbibl.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listorg.xml" out="${target}/listorg.html" style="./xslt/listorg.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<!--
<xslt in="./data/indices/listperson.xml" out="${target}/beacon.txt" style="./xslt/beacon.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>
<replace dir="${target}" value="">
<include name="*.html"/>
<replacetoken>xmlns:tei="http://www.tei-c.org/ns/1.0"</replacetoken>
</replace>
<replace dir="${target}" value="">
<include name="*.html"/>
<replacetoken>xmlns="http://www.w3.org/1999/xhtml"</replacetoken>
</replace>
<copy todir="${target}" flatten="true">
<fileset dir="./data/">
<include name="**/*.xml"/>
</fileset>
</copy>
</project>