From 94051e3c059e9735eedffb6fe04100261746d1f0 Mon Sep 17 00:00:00 2001 From: David Bartley Date: Thu, 22 Nov 2007 04:15:42 -0500 Subject: [PATCH] Don't output xmlns attributes except on root element --- xsl/atom.xsl | 9 ++++++--- xsl/common.xsl | 6 ++++-- xsl/directory.xsl | 6 ++++-- xsl/events.xsl | 6 ++++-- xsl/functions.xsl | 6 ++++-- xsl/html.xsl | 13 +++++++------ xsl/media.xsl | 6 ++++-- xsl/members.xsl | 6 ++++-- xsl/menu.xsl | 6 ++++-- xsl/news.xsl | 6 ++++-- xsl/positions.xsl | 6 ++++-- 11 files changed, 49 insertions(+), 27 deletions(-) diff --git a/xsl/atom.xsl b/xsl/atom.xsl index 994ad3a..93d1b1a 100644 --- a/xsl/atom.xsl +++ b/xsl/atom.xsl @@ -1,9 +1,12 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/2005/Atom" + exclude-result-prefixes="csc"> + + @@ -27,7 +30,7 @@ - + UW Computer Science Club <xsl:value-of select="$title"/> diff --git a/xsl/common.xsl b/xsl/common.xsl index 56bf15d..3767c7f 100644 --- a/xsl/common.xsl +++ b/xsl/common.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + diff --git a/xsl/directory.xsl b/xsl/directory.xsl index 753987c..657feaa 100644 --- a/xsl/directory.xsl +++ b/xsl/directory.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + diff --git a/xsl/events.xsl b/xsl/events.xsl index 4e59dbb..2ed9ff4 100644 --- a/xsl/events.xsl +++ b/xsl/events.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + diff --git a/xsl/functions.xsl b/xsl/functions.xsl index eb4ee0f..358f3ea 100644 --- a/xsl/functions.xsl +++ b/xsl/functions.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> +

Please consider donating to the diff --git a/xsl/html.xsl b/xsl/html.xsl index baa2efd..adf905b 100644 --- a/xsl/html.xsl +++ b/xsl/html.xsl @@ -1,9 +1,14 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + + @@ -29,10 +34,6 @@ http://csclub.uwaterloo.ca/files/ http://mirror.cs.uwaterloo.ca/csclub/ - - diff --git a/xsl/media.xsl b/xsl/media.xsl index cc2c98a..30a8926 100644 --- a/xsl/media.xsl +++ b/xsl/media.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + diff --git a/xsl/members.xsl b/xsl/members.xsl index e92bbe3..b168929 100644 --- a/xsl/members.xsl +++ b/xsl/members.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> +

The members for are diff --git a/xsl/menu.xsl b/xsl/menu.xsl index ae400ac..9993455 100644 --- a/xsl/menu.xsl +++ b/xsl/menu.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + diff --git a/xsl/news.xsl b/xsl/news.xsl index d5c523b..fa3640b 100644 --- a/xsl/news.xsl +++ b/xsl/news.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> + diff --git a/xsl/positions.xsl b/xsl/positions.xsl index 65f34f1..f317953 100644 --- a/xsl/positions.xsl +++ b/xsl/positions.xsl @@ -1,9 +1,11 @@ + xmlns:csc="http://csclub.uwaterloo.ca/xsltproc" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="csc"> +