aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/xml/gen-html.xsl.sh
blob: 8e2704959ccaac97541c92c7dde7c939484a051e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# Helper script to generate html.xsl.
#

if test $# -ne 1; then
	echo "Usage: $0 <path to chunk.xsl>"
	exit 1
fi

if test -f "$1"; then :; else
	echo "$0: file not found: \"$1\""
	exit 1
fi

cat << EOF
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ***************************************************
     This file is generated automatically.  DO NOT EDIT.
     *************************************************** -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:import href="$1"/>
  <xsl:include href="html-common.xsl"/>

</xsl:stylesheet>
EOF