diff options
Diffstat (limited to 'test/w3c/convert-tests.sh')
-rwxr-xr-x | test/w3c/convert-tests.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/w3c/convert-tests.sh b/test/w3c/convert-tests.sh new file mode 100755 index 0000000..42f8fce --- /dev/null +++ b/test/w3c/convert-tests.sh @@ -0,0 +1,23 @@ +ME=`basename $0` +DIR="$( cd "$( dirname "$0" )" && pwd )" +cd $DIR + +TXMLS=`ls txml/*.txml` + +# see http://saxon.sourceforge.net/saxon6.5.1/using-xsl.html +for TXML in $TXMLS +do + DEST=ecma/`basename $TXML .txml`.scxml + echo "Processing $TXML to $DEST" + java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confEcma.xsl -o:$DEST +done + +for TXML in $TXMLS +do + DEST=xpath/`basename $TXML .txml`.scxml + echo "Processing $TXML to $DEST" + java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confXPath.xsl -o:$DEST +done + +cp txml/*.txt ecma/ +cp txml/*.txt xpath/
\ No newline at end of file |