[Telepathy-commits] [telepathy-gabble/master] Update xep.xsl to r2040

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:23 PDT 2008


20080721135256-53eee-dab1d1a9b1f6239412527bd636530192b80cff9b.gz
---
 tools/xep.xsl |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/tools/xep.xsl b/tools/xep.xsl
index 5ea7703..09cf031 100644
--- a/tools/xep.xsl
+++ b/tools/xep.xsl
@@ -34,7 +34,7 @@ THE SOFTWARE.
     <html>
       <head>
         <title>XEP-<xsl:value-of select='/xep/header/number'/>:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></title>
-        <link rel='stylesheet' type='text/css' href='/xmpp.css' />
+        <link rel='stylesheet' type='text/css' href='../xmpp.css' />
         <link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
         <!-- BEGIN META TAGS FOR DUBLIN CORE -->
         <meta>
@@ -696,6 +696,10 @@ THE SOFTWARE.
     </p>
   </xsl:template>
 
+  <xsl:template match='br'>
+    <br />
+  </xsl:template>
+
   <xsl:template match='ul'>
     <ul>
       <xsl:variable name='class.count' select='count(@class)'/>
@@ -773,10 +777,12 @@ THE SOFTWARE.
   </xsl:template>
 
   <xsl:template match='table'>
-    <p class='caption'><a><xsl:attribute name='name'><xsl:text>table-</xsl:text><xsl:number level='any' count='table'/></xsl:attribute></a>Table <xsl:number level='any' count='table'/>:<xsl:text> </xsl:text><xsl:value-of select='@caption'/></p>
-    <table border='1' cellpadding='3' cellspacing='0'>
-      <xsl:apply-templates/>
-    </table>
+    <div class='indent'>
+      <p class='caption'><a><xsl:attribute name='name'><xsl:text>table-</xsl:text><xsl:number level='any' count='table'/></xsl:attribute></a>Table <xsl:number level='any' count='table'/>:<xsl:text> </xsl:text><xsl:value-of select='@caption'/></p>
+      <table border='1' cellpadding='3' cellspacing='0'>
+        <xsl:apply-templates/>
+      </table>
+    </div>
   </xsl:template>
 
   <xsl:template match='tr'>
-- 
1.5.6.3




More information about the Telepathy-commits mailing list