From f60e22bdf70180f980f821e531120bb4c112f6db Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Tue, 9 Nov 2010 11:47:36 -0500 Subject: [PATCH] Clean out another XML attribute that is problematic in some cases. --- outline.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/outline.bash b/outline.bash index 7aa2d31..d89aa8f 100755 --- a/outline.bash +++ b/outline.bash @@ -47,6 +47,8 @@ echo "Tidied contents.xml" # xalan doesn't handle ns well, stripp them sed -e "s/ xmlns=\".*\"//g" -i contents.xml +# xalan also doesn't handle imports, which shouldn't be necessary anyway +sed -e "s/ standlone=\"no\"//g" -i contents.xml # use grep to figure out which xsl to use grep "[0-9]\{2\}:[0-9]\{2\}" contents.xml > /dev/null @@ -68,4 +70,4 @@ sed -e "s/^6/ /" -i contents.txt # snug the result where requested mv contents.txt "$target" # clean up the temporary files -#rm contents.xml +rm contents.xml