Commits

Anonymous committed aee966c

Removed unnecessary xmlns="XHTML-ns" declarations from the XSLT.

Comments (0)

Files changed (1)

XML-Grammar-Fortune/module/extradata/fortune-xml-to-html.xslt

 </xsl:template>
 
 <xsl:template match="/collection">
-    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
+    <html xml:lang="en-US">
         <head>
             <title>Fortunes</title>
             <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 </xsl:template>
 
 <xsl:template match="fortune">
-    <div xmlns="http://www.w3.org/1999/xhtml" class="fortune">
+    <div class="fortune">
         <h3 id="{@id}"><xsl:call-template name="get_header" /></h3>
         <xsl:choose>
             <xsl:when test="irc">
 </xsl:template>
 
 <xsl:template match="saying|me_is|joins|leaves">
-    <tr xmlns="http://www.w3.org/1999/xhtml">
+    <tr>
         <xsl:attribute name="class">
             <xsl:value-of select="name(.)" />
         </xsl:attribute>
 
 <xsl:template name="render_info">
     <xsl:if test="info/*">
-        <table xmlns="http://www.w3.org/1999/xhtml" class="info">
+        <table class="info">
             <tbody>
                 <xsl:apply-templates select="info/*" name="raw_info_subs"/>
             </tbody>
 </xsl:template>
 
 <xsl:template match="raw">
-    <pre xmlns="http://www.w3.org/1999/xhtml" class="raw">
+    <pre class="raw">
         <xsl:value-of select="body/text"/>
     </pre>
     <xsl:call-template name="render_info" select="." />
 </xsl:template>
 
 <xsl:template match="quote">
-    <blockquote xmlns="http://www.w3.org/1999/xhtml">
+    <blockquote>
         <xsl:apply-templates select="body/*" mode="copy-html-ns"/>
     </blockquote>
     <xsl:call-template name="render_info" select="." />
 
 
 <xsl:template match="irc">
-    <table xmlns="http://www.w3.org/1999/xhtml" class="irc-conversation">
+    <table class="irc-conversation">
         <tbody>
             <xsl:apply-templates select="body"/>
         </tbody>
 </xsl:template>
 
 <xsl:template match="*" name="raw_info_subs">
-    <tr xmlns="http://www.w3.org/1999/xhtml" class="{name(.)}">
+    <tr class="{name(.)}">
         <td class="field">
             <b>
                 <xsl:choose>