[seam-commits] Seam SVN: r7623 - maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Mar 18 19:18:11 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-03-18 19:18:11 -0400 (Tue, 18 Mar 2008)
New Revision: 7623

Modified:
   maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl
Log:
Get rid of annoying warnings

Modified: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl	2008-03-18 22:51:09 UTC (rev 7622)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl	2008-03-18 23:18:11 UTC (rev 7623)
@@ -13,6 +13,14 @@
 		exclude-result-prefixes="#default">
 
    <xsl:import href="classpath:/xslt/org/jboss/main-html.xsl"/>
+   
+   <!-- These extensions are required for table printing and other stuff -->
+    <xsl:param name="use.extensions">1</xsl:param>
+    <xsl:param name="tablecolumns.extension">0</xsl:param>
+    <xsl:param name="callout.extensions">1</xsl:param>
+    <xsl:param name="graphicsize.extension">0</xsl:param>
+   
+   <xsl:param name="html.stylesheet" select="'css/seamframework.css'"/>
     
     <!-- Placement of titles -->
     <xsl:param name="formal.title.placement">
@@ -22,14 +30,90 @@
         table before
         procedure before
     </xsl:param>
-    <xsl:param name="use.extensions">1</xsl:param>
     <!-- Callouts -->
     
-    <xsl:param name="callout.extensions">1</xsl:param>
     <!-- Don't use graphics, use a simple number style -->
     <xsl:param name="callout.graphics">0</xsl:param>
+    <xsl:param name="callout.defaultcolumn">90</xsl:param>
 
     <!-- Place callout marks at this column in annotated areas -->
     
+    <!--
+From: xhtml/chunk-common.xsl
+Reason: remove tables, truncate link text
+Version:
+-->
+<xsl:template name="header.navigation">
+   <xsl:param name="prev" select="/foo"/>
+   <xsl:param name="next" select="/foo"/>
+   <xsl:param name="nav.context"/>
+   <xsl:variable name="home" select="/*[1]"/>
+   <xsl:variable name="up" select="parent::*"/>
+   <xsl:variable name="row1" select="$navig.showtitles != 0"/>
+   <xsl:variable name="row2" select="count($prev) &gt; 0 or (count($up) &gt; 0 and generate-id($up) != generate-id($home) and $navig.showtitles != 0) or count($next) &gt; 0"/>
+   <xsl:if test="$suppress.navigation = '0' and $suppress.header.navigation = '0'">
+      <xsl:if test="$row1 or $row2">
+         <xsl:if test="$row1">
+            <p xmlns="http://www.w3.org/1999/xhtml">
+               <xsl:attribute name="id">
+                  <xsl:text>title</xsl:text>
+               </xsl:attribute>
+               <a>
+                  <xsl:attribute name="href">
+                     <xsl:text>http://www.seamframework.org</xsl:text>
+                  </xsl:attribute>
+                  <xsl:attribute name="class">
+                     <xsl:text>seamFrameworkOrg_href</xsl:text>
+                  </xsl:attribute>
+                  <strong>
+                          SeamFramework.org
+                  </strong>
+               </a>
+            </p>
+         </xsl:if>
+         <xsl:if test="$row2">
+            <ul class="docnav" xmlns="http://www.w3.org/1999/xhtml">
+               <li class="previous">
+                  <xsl:if test="count($prev)&gt;0">
+                     <a accesskey="p">
+                        <xsl:attribute name="href">
+                           <xsl:call-template name="href.target">
+                              <xsl:with-param name="object" select="$prev"/>
+                           </xsl:call-template>
+                        </xsl:attribute>
+                        <strong>
+                           <xsl:call-template name="navig.content">
+                              <xsl:with-param name="direction" select="'prev'"/>
+                           </xsl:call-template>
+                        </strong>
+                     </a>
+                  </xsl:if>
+               </li>
+               <li class="next">
+                  <xsl:if test="count($next)&gt;0">
+                     <a accesskey="n">
+                        <xsl:attribute name="href">
+                           <xsl:call-template name="href.target">
+                              <xsl:with-param name="object" select="$next"/>
+                           </xsl:call-template>
+                        </xsl:attribute>
+                        <strong>
+                           <xsl:call-template name="navig.content">
+                              <xsl:with-param name="direction" select="'next'"/>
+                           </xsl:call-template>
+                        </strong>
+                     </a>
+                  </xsl:if>
+               </li>
+            </ul>
+         </xsl:if>
+      </xsl:if>
+      <xsl:if test="$header.rule != 0">
+         <hr/>
+      </xsl:if>
+   </xsl:if>
+</xsl:template>
+    
+    
 
 </xsl:stylesheet>




More information about the seam-commits mailing list