Clean out another XML attribute that is problematic in some cases.

This commit is contained in:
Thomas Gideon 2010-11-09 11:47:36 -05:00
parent 64582c47b7
commit f60e22bdf7

View file

@ -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 "<lit>[0-9]\{2\}:[0-9]\{2\}</lit>" 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