# Genericode preparation
# Usage: prepare-gc gc-instance
echo :: Validating $1.gc with genericode document model
sh ../utility/w3cschema.sh ../utility/genericode-code-list-0.4.xsd $1.gc >prepare-gc.txt
if [ $? -eq 0 ]
then echo :: No XSD validation errors.
else cat prepare-gc.txt; exit 1
fi
# echo :: Preparing documentation...
# sh ../utility/xslt.sh $1.gc ../utility/Crane-genericode2html.xsl $1.html 2>prepare-gc.txt
# if [ $? -eq 0 ]
# then echo :: No documentation preparation errors
# else cat prepare-gc.txt; exit 1
# fi