Skip to content

Commit

Permalink
Fix shebang, always generate linked docs in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfehler committed Mar 7, 2016
1 parent 99a270f commit 01731f7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/test_xsltproc.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!bin/bash
#!/bin/bash
RESULTS_DIR=xsltproc-results
LINKS_FILE=links.xml
XSLT_FILE=xs3p.xsl
Expand All @@ -17,14 +17,14 @@ do
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
XSD_FILE=address.xsd
echo "Generating linked documentation for: $XSD_FILE"
xsltproc --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE
XSD_FILE=ipo.xsd
echo "Generating linked 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 linked 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

0 comments on commit 01731f7

Please sign in to comment.