Merge branch 'master' of caffeine:/users/www/www/
[mspang/www.git] / xsl / exec.xsl
index 9eae18f..8357b32 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version='1.0'?>
 
-<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    xmlns:csc="http://www.csclub.uwaterloo.ca/cow" 
-    extension-element-prefixes="csc">
+<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:fn="http://www.w3.org/2005/xpath-functions"
+    xmlns:csc="http://csclub.uwaterloo.ca/xslt">
 
 <xsl:template match="execlist">
   <h3>Elected positions</h3>
 <xsl:template match="exec">
   <li>
     <xsl:value-of select="@name" /> is this term's <b>
-    <xsl:value-of select="@position" /></b>. You can <a 
-    href="mailto:{@userid}@csclub.uwaterloo.ca">e-mail the 
+    <xsl:value-of select="@position" /></b>. You can <a
+    href="mailto:{@userid}@csclub.uwaterloo.ca">e-mail the
     <xsl:value-of select="@position" /></a>
     <xsl:if test="not(@href='')">
-      or <a href="{@href}">visit 
+      or <a href="{@href}">visit
       <xsl:choose>
         <xsl:when test="@sex='male'"> his </xsl:when>
         <xsl:when test="@sex='female'"> her </xsl:when>