
rm -rf $1 expo1*
cd expo
zip -r ../expo1.xlsx *
cd ..
if [ "$1" = "" ] 
then
echo al menos un archivo xls; exit
fi
mkdir $1 expo1
cd $1
unzip ../$1.xlsx
x=`find . | egrep .xml$`
cd ../expo1
unzip ../expo1.xlsx
cd ..

for i in $x
do
	#echo "\n\n\n\n"
echo $i
xmllint --format expo1/$i >expo1/$i.l
xmllint --format $1/$i >$1/$i.l
 done 
for i in $x
do
echo  diff expo1/$i.l $1/$i.l
diff expo1/$i.l  $1/$i.l
done

