-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
39 lines (39 loc) · 1.98 KB
/
build.xml
File metadata and controls
39 lines (39 loc) · 1.98 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="tei2html">
<property name="source_desc" value="./data/descriptions"/>
<property name="source_text" value="./data/texts"/>
<property name="target" value="./html"/>
<property name="stylesheet_desc" value="./xslt/desc_tei_to_html.xsl"/>
<property name="stylesheet_text" value="./xslt/text_tei_to_html.xsl"/>
<property name="index.source" value="./data/meta/about.xml"/>
<property name="index.style" value="./xslt/make_index.xsl"/>
<property name="index-mss.style" value="./xslt/make_index_mss.xsl"/>
<delete>
<fileset dir="${target}" includes="*.html"/>
</delete>
<delete dir="${target}/static-search"/>
<xslt style="${stylesheet_desc}" basedir="${source_desc}" destdir="${target}" includes="*.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt style="${stylesheet_text}" basedir="${source_text}" destdir="${target}" includes="*.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index.source}" out="${target}/index.html" style="${index.style}">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="${index.source}" out="${target}/index-mss.html" style="${index-mss.style}">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<xslt in="./data/indices/listtitle.xml" out="${target}/listtitle.html" style="./xslt/make_listtitle.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>
</project>