Fixed xmlns="" garbage.

This commit is contained in:
David Bartley 2007-08-11 05:24:19 -04:00
parent b3ce845228
commit ab5c717fb9
12 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -5,12 +5,13 @@ XSLTARGS=g_date=`date -I` g_time=`date +%H:%M:%S` \
CLASSPATH=/users/www/saxon8/saxon8.jar CLASSPATH=/users/www/saxon8/saxon8.jar
all: $(OUTPUTS) 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: clean:
@for i in $(SUBDIRS) ; do cd $$i && ($(MAKE) clean || exit 1) && cd .. ; done
rm -f *.html events.ics 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 %.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=""||' $@

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">

View File

@ -1,6 +1,7 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<xsl:stylesheet version="2.0" <xsl:stylesheet version="2.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:csc="http://www.csclub.uwaterloo.ca/xslt"> xmlns:csc="http://www.csclub.uwaterloo.ca/xslt">