-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
30 lines (29 loc) · 1.3 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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="tei2html">
<property name="tmpDir" value="./data/tmp"/>
<property name="editions" value="./data/editions"/>
<delete dir="${tmpDir}"/>
<mkdir dir="${tmpDir}"/>
<xslt style="./import-xslts/add-title-with-iso-date.xsl" basedir="./data/editions" destdir="${tmpDir}" includes="*.xml" extension=".xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<move todir="${editions}">
<fileset dir="${tmpDir}"/>
</move>
<xslt style="./import-xslts/langesS-neu.xsl" basedir="./data/editions" destdir="${tmpDir}" includes="*.xml" extension=".xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<move todir="${editions}">
<fileset dir="${tmpDir}"/>
</move>
<xslt style="./import-xslts/remove-whitespace.xsl" basedir="./data/editions" destdir="${tmpDir}" includes="*.xml" extension=".xml">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
<move todir="${editions}">
<fileset dir="${tmpDir}"/>
</move>
<delete dir="${tmpDir}"/>
</project>