-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
139 lines (134 loc) · 6.46 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?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>
<!-- Para Texte -->
<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 style="./xslt/handapparat.xsl" basedir="./data/handapparat" destdir="${target}" includes="*.xml">
<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>
<!-- Topics -->
<xslt in="${index}" out="${target}/kultur.html" style="./xslt/kultur.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index}" out="${target}/politik.html" style="./xslt/politik.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt style="./xslt/topics.xsl" basedir="./data/topics" destdir="${target}" includes="*.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<!-- Search -->
<xslt in="${index}" out="${target}/search.html" style="./xslt/search.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<!-- Fälle -->
<xslt in="${index}" out="${target}/cases.html" style="./xslt/toc-col.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt style="./xslt/case.xsl" basedir="./data/cases_tei" destdir="${target}" includes="*.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<!-- Akten -->
<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 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 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>
<!-- Register -->
<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/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/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/listlegal.xml" out="${target}/listlegal.html" style="./xslt/listlegal.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listwork.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/listfackel.xml" out="${target}/listfackel.html" style="./xslt/listfackel.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<!--
<xslt in="./data/meta/arche_constants.rdf" out="${target}/arche.rdf" style="./xslt/arche.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>
<!-- Visualisierungen -->
<xslt in="./data/vocabulary/legalkraus.rdf" out="${target}/fallstatistik.html" style="./xslt/vocabs.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index}" out="${target}/zeitstrahl.html" style="./xslt/timeline.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:local="http://dse-static.foo.bar"</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><br ></replacetoken>
</replace>
<replace dir="${target}" value="">
<include name="*.html"/>
<replacetoken><br ></replacetoken>
</replace>
<replace dir="${target}" value="<br />">
<include name="*.html"/>
<replacetoken></br></replacetoken>
</replace>
<copy todir="${target}" flatten="true">
<fileset dir="./data/">
<include name="**/*.xml"/>
</fileset>
</copy>
</project>