From aceed71c01b9a25ee4fc70074d3edbd7c95042ad Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 18 Feb 2015 15:48:18 +0100 Subject: Implement simple xml import using xsl and load xml --- update.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 update.sh (limited to 'update.sh') diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..6ad1214 --- /dev/null +++ b/update.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +cd $(dirname $0) +cat "LIKAT Publications.xml" \ + | xsltproc convert-style-to-html.xsl - \ + | xsltproc endnote-to-dbxml.xsl - \ + | sed -f fix-empty-tags.sed \ + > dbxml.xml + +# sed -f cdata.sed | \ +# xmllint --pretty 1 - \ + +mysql -v -utypo3 -ptypo3 typo3 < update.sql -- cgit