Fixed xmlns="" garbage.
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Sat, 11 Aug 2007 09:24:19 +0000 (05:24 -0400)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Sat, 11 Aug 2007 09:24:19 +0000 (05:24 -0400)
12 files changed:
cscweb.xsl
default.mk.in
xsl/books.xsl
xsl/common.xsl
xsl/directory.xsl
xsl/events.xsl
xsl/exec.xsl
xsl/functions.xsl
xsl/media.xsl
xsl/members.xsl
xsl/menu.xsl
xsl/news.xsl

index 5a9ddbe..e6d129a 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index def8502..e9bfb25 100644 (file)
@@ -5,12 +5,13 @@ XSLTARGS=g_date=`date -I` g_time=`date +%H:%M:%S` \
 CLASSPATH=/users/www/saxon8/saxon8.jar
 
 all: $(OUTPUTS)
-       @for i in $(SUBDIRS) ; do (cd $$i && ($(MAKE) || exit 1)  && cd ..) ; done
+       @for i in $(SUBDIRS) ; do cd $$i && ($(MAKE) || exit 1) && cd .. ; done
 
-clean-recurse: clean
-       @for i in $(SUBDIRS) ; do (cd $$i && ($(MAKE) clean-recurse || exit 1) && cd ..) ; done
 clean:
+       @for i in $(SUBDIRS) ; do cd $$i && ($(MAKE) clean || exit 1) && cd .. ; done
        rm -f *.html events.ics
 
 %.html: %.xml $(ROOT)/csc.dtd $(ROOT)/cscweb.xsl $(ROOT)/xsl/*.xsl $(ROOT)/events.xml $(ROOT)/news.xml $(ROOT)/menu.xml $(ROOT)/default.mk directory.xml
-       java -classpath $(CLASSPATH) net.sf.saxon.Transform $< $(ROOT)/cscweb.xsl $(XSLTARGS) > $@ || exit 1;
+       java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@ $< $(ROOT)/cscweb.xsl $(XSLTARGS)
+       # mad mad hacks
+       sed -i 's| xmlns=""||' $@
index 6d4ec81..8b07488 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index 6c1a764..fdb677c 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index 37b86b1..9b213d1 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index 47e2375..73be7a6 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index a5eceb8..17de9e6 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index b323b4f..2d91a73 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index 552f21a..83dd007 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index a60ac37..d9ec509 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index f9d2e24..07a7a1e 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">
index b396a77..b02d2eb 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 
 <xsl:stylesheet version="2.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">