summaryrefslogtreecommitdiff
path: root/make-xml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-xml.sh')
-rwxr-xr-xmake-xml.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/make-xml.sh b/make-xml.sh
new file mode 100755
index 0000000..dace25c
--- /dev/null
+++ b/make-xml.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+./list-chapters.sh | while read file
+do
+ echo "$file"
+ ./convert.sed "$file" | \
+ xsltproc --encoding utf-8 --html convert.xsl - > "${file}.xml"
+done