You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ts...@apache.org on 2005/03/12 19:05:35 UTC

svn commit: r157262 - lenya/trunk/src/webapp/lenya/pubs/default/xslt/links2xhtml.xsl

Author: tschlabach
Date: Sat Mar 12 10:05:33 2005
New Revision: 157262

URL: http://svn.apache.org/viewcvs?view=rev&rev=157262
Log:
Applied some formatting and fixed encoding to UTF-8 (see bug #28448)

Modified:
    lenya/trunk/src/webapp/lenya/pubs/default/xslt/links2xhtml.xsl

Modified: lenya/trunk/src/webapp/lenya/pubs/default/xslt/links2xhtml.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/xslt/links2xhtml.xsl?view=diff&r1=157261&r2=157262
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/xslt/links2xhtml.xsl (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/xslt/links2xhtml.xsl Sat Mar 12 10:05:33 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"? encoding="UTF-8">
 
 <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -6,21 +6,19 @@
   xmlns="http://www.w3.org/1999/xhtml"
 >
 
-<xsl:template match="default:links">
-<div id="body">
-<h1><xsl:value-of select="default:title"/></h1>
-<ul>
-<xsl:apply-templates select="default:link"/>
-</ul>
-</div>
-</xsl:template>
+  <xsl:template match="default:links">
+    <div id="body">
+      <h1><xsl:value-of select="default:title"/></h1>
+      <ul>
+        <xsl:apply-templates select="default:link"/>
+      </ul>
+    </div>
+  </xsl:template>
 
-<xsl:template match="default:link">
-<li>
-<a href="{@href}">
-<xsl:value-of select="."/>
-</a>
-</li>
-</xsl:template>
+  <xsl:template match="default:link">
+    <li>
+      <a href="{@href}"><xsl:value-of select="."/></a>
+    </li>
+  </xsl:template>
   
 </xsl:stylesheet>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org