From 1d351391ac6be32d859a094eea49ab6e3e335bdc Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sun, 13 Oct 2002 15:14:56 +0000 Subject: [PATCH] Make xhtml versions --- slides/xsl/xhtml/.cvsignore | 10 +++ slides/xsl/xhtml/Makefile | 18 ++++ slides/xsl/xhtml/html2xhtml.xsl | 140 ++++++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+) create mode 100644 slides/xsl/xhtml/.cvsignore create mode 100644 slides/xsl/xhtml/Makefile create mode 100644 slides/xsl/xhtml/html2xhtml.xsl diff --git a/slides/xsl/xhtml/.cvsignore b/slides/xsl/xhtml/.cvsignore new file mode 100644 index 000000000..2974d390a --- /dev/null +++ b/slides/xsl/xhtml/.cvsignore @@ -0,0 +1,10 @@ +default.xsl +frames.xsl +graphics.xsl +jscript.xsl +param.xsl +plain.xsl +slides-common.xsl +tables.xsl +vslides.xsl +w3c.xsl diff --git a/slides/xsl/xhtml/Makefile b/slides/xsl/xhtml/Makefile new file mode 100644 index 000000000..ed83ddd66 --- /dev/null +++ b/slides/xsl/xhtml/Makefile @@ -0,0 +1,18 @@ +include ../../../cvstools/Makefile.incl + +all: xsl-files + +remove-old: + for f in *.xsl; do if [ ! -f ../html/$$f -a "$$f" != "html2xhtml.xsl" ]; then rm $$f; fi; done + +add-new: + for f in ../html/*.xsl; do if [ ! -f `basename $$f` ]; then \ + echo $$f; \ + cp $$f .; \ + touch -t 197001010000 `basename $$f`; fi; done + +# Oh, come on! It must be possible to do this in Make, but I can't figure out how (ndw) + +xsl-files: remove-old add-new + for f in *.xsl; do if [ ../html/$$f -nt $$f ]; then $(XSLT) ../html/$$f html2xhtml.xsl $$f; fi; done + diff --git a/slides/xsl/xhtml/html2xhtml.xsl b/slides/xsl/xhtml/html2xhtml.xsl new file mode 100644 index 000000000..6ae925bd1 --- /dev/null +++ b/slides/xsl/xhtml/html2xhtml.xsl @@ -0,0 +1,140 @@ + + + + + + + + + This file was created automatically by html2xhtml + + from the HTML stylesheets. Do not edit this file. + + + + + + + + + + xml + -//W3C//DTD XHTML 1.0 Transitional//EN + http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd + + + + + + + 'http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl' + + + + + + + 'xhtml' + + + + + + + 1 + + + + + + + 'xml' + + + + + + + 'xml' + + + + + + + + + id + + + + + + + + + + + + + + + + + http://www.w3.org/1999/xhtml + + + + + + + + + no apply-templates; make it empty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.50.1