summaryrefslogtreecommitdiff
path: root/fix-empty-tags.sed
diff options
context:
space:
mode:
authorBenjamin Franzke <bfr@qbus.de>2015-02-18 15:48:18 +0100
committerBenjamin Franzke <bfr@qbus.de>2015-02-18 15:54:24 +0100
commitaceed71c01b9a25ee4fc70074d3edbd7c95042ad (patch)
tree04c1409cfc7449a03b37e47559acd5c3baf52c44 /fix-empty-tags.sed
downloadendnote-import-aceed71c01b9a25ee4fc70074d3edbd7c95042ad.tar.gz
endnote-import-aceed71c01b9a25ee4fc70074d3edbd7c95042ad.tar.bz2
endnote-import-aceed71c01b9a25ee4fc70074d3edbd7c95042ad.zip
Implement simple xml import using xsl and load xml
Diffstat (limited to 'fix-empty-tags.sed')
-rw-r--r--fix-empty-tags.sed3
1 files changed, 3 insertions, 0 deletions
diff --git a/fix-empty-tags.sed b/fix-empty-tags.sed
new file mode 100644
index 0000000..f958206
--- /dev/null
+++ b/fix-empty-tags.sed
@@ -0,0 +1,3 @@
+# LOAD XML has bugs (NULL columns) when there are empty, self closing tags like
+# <title/> Replace those with <title></title>
+s/<\([^>]*\)\/>/<\1><\/\1>/g