aboutsummaryrefslogtreecommitdiff
path: root/spec/xs3p/examples/test_xsltproc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spec/xs3p/examples/test_xsltproc.sh')
-rw-r--r--spec/xs3p/examples/test_xsltproc.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/xs3p/examples/test_xsltproc.sh b/spec/xs3p/examples/test_xsltproc.sh
deleted file mode 100644
index f2e3120a..00000000
--- a/spec/xs3p/examples/test_xsltproc.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!bin/bash
-RESULTS_DIR=xsltproc-results
-LINKS_FILE=links.xml
-XSLT_FILE=xs3p.xsl
-ORIGINAL_XSLT_FILE=../$XSLT_FILE
-# Copy XSLT file to local directory
-cp $ORIGINAL_XSLT_FILE .
-# Create results directory
-if [ ! -d $RESULTS_DIR ] ;
-then
- mkdir $RESULTS_DIR
-fi
-# Loop through schema files
-for f in *.xsd
-do
- echo "Generating documentation for: $f"
- xsltproc --nonet --output $RESULTS_DIR/$f.html $XSLT_FILE $f
-done
-# Test external links
-# XSD_FILE=address.xsd
-# echo "Generating documentation for: $XSD_FILE"
-# xsltproc --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE
-# XSD_FILE=ipo.xsd
-# echo "Generating documentation for: $XSD_FILE"
-# xsltproc --param searchIncludedSchemas "'true'" --param linksFile "'links.xml'" --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE
-# XSD_FILE=report.xsd
-# echo "Generating documentation for: $XSD_FILE"
-# xsltproc --param searchIncludedSchemas "'true'" --param linksFile "'links.xml'" --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE
-# Delete local copy of stylesheet
-rm $XSLT_FILE