User: user57  
  Date: 01/08/29 02:19:35

  Added:       src/stylesheets fancy.xsl plain.xsl printable.xsl
  Removed:     src/stylesheets jboss.xsl
  Log:
   o moved xml docs to xdocs to make the build a little easier & seperate things
     a little bit.
   o moved howto docs to xdocs/howto
   o renamed jboss.xsl to fancy.xsl
   o added plain.xsl & printable.xsl
   o changed html-* targets to docs-html-* for consitency
   o using SAXON for XSLT for all docs-html-* targets
   o docs-html will now build the fancy and printable docs by default, use the
     docs-html-plain for the basic chunked docbook format (minus the jboss
     fancy header and footer).
  
  Revision  Changes    Path
  1.1                  manual/src/stylesheets/fancy.xsl
  
  Index: fancy.xsl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!-- $Id: fancy.xsl,v 1.1 2001/08/29 09:19:35 user57 Exp $ -->
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
     xmlns:saxon="http://icl.com/saxon";
     xmlns:lxslt="http://xml.apache.org/xslt";
     xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect"
     xmlns:doc="http://nwalsh.com/xsl/documentation/1.0";
     version="1.0"
     exclude-result-prefixes="doc"
     extension-element-prefixes="saxon xalanredirect lxslt">
  
     <xsl:import href="@oasis.docbook.xsl.root@/html/chunk.xsl"/>
  
     <xsl:param name="html.stylesheet">styles.css</xsl:param>
     <xsl:param name="toc.section.depth">1</xsl:param>
     <xsl:param name="generate.component.toc">1</xsl:param>
     <xsl:param name="chapter.autolabel" select="1"/>
  
     <!-- Override the callout images location -->
     <xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
  
     <!-- 
        | Override the graphics.xsl imageobjectco to correctly process 
        | the calloutlist child element 
      -->
     <xsl:template match="imageobjectco">
        <xsl:apply-templates select="imageobject"/>
        <xsl:apply-templates select="calloutlist"/>
     </xsl:template>
  
     <!-- Override the footnote.xml footnote as it just was not working -->
     <xsl:template match="footnote">
        <xsl:choose>
           <xsl:when test="ancestor::table|ancestor::informaltable">
              <xsl:apply-templates select="." mode="table.footnote.mode"/>
           </xsl:when>
        <xsl:otherwise>
           <xsl:apply-templates select="." mode="process.footnote.mode"/>
        </xsl:otherwise>
        </xsl:choose>
     </xsl:template>
  
     <xsl:template name="header.navigation">
        <xsl:param name="prev" select="/foo"/>
        <xsl:param name="next" select="/foo"/>
        <xsl:variable name="home" select="/*[1]"/>
        <xsl:variable name="up" select="parent::*"/>
        <xsl:if test="$suppress.navigation = '0'">
           <table border="0" cellpadding="0" cellspacing="0" height="65">
              <tr height="65">
                 <td rowspan="2">
                    <img src="images/jboss.gif" border="0"/>
                 </td>
                 <td rowspan="2" background="images/gbar.gif" width="100%" 
align="right" valign="top">
                    <a>
                       <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$home"/></xsl:call-template></xsl:attribute>
                       <img src="images/doc.gif" border="0"/>
                    </a>
                    <xsl:choose>
                       <xsl:when test="count($up)>0">
                          <a>
                             <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$up"/></xsl:call-template></xsl:attribute>
                             <img src="images/toc.gif" border="0"/>
                          </a>
                       </xsl:when>
                       <xsl:otherwise>&#160;</xsl:otherwise>
                    </xsl:choose>
                    <xsl:if test="count($prev)>0">
                       <a>
                          <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$prev"/></xsl:call-template></xsl:attribute>
                          <img src="images/prev.gif" border="0"/>
                       </a>
                    </xsl:if>
                    <xsl:if test="count($next)>0">
                       <a>
                          <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$next"/></xsl:call-template></xsl:attribute>
                          <img src="images/next.gif" border="0"/>
                       </a>
                    </xsl:if>
                 </td>
              </tr>
              <tr/>
           </table>
        </xsl:if>
     </xsl:template>
  
     <xsl:template name="footer.navigation">
        <xsl:param name="prev" select="/foo"/>
        <xsl:param name="next" select="/foo"/>
        <xsl:variable name="home" select="/*[1]"/>
        <xsl:variable name="up" select="parent::*"/>
        <xsl:if test="$suppress.navigation = '0'">
           <table border="0" cellpadding="0" cellspacing="0" height="65">
              <tr height="65">
                 <td rowspan="2">
                    <img src="images/gbar.gif" border="0"/>
                 </td>
                 <td rowspan="2" background="images/gbar.gif" width="100%" 
align="right" valign="top">
                    <a>
                       <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$home"/></xsl:call-template></xsl:attribute>
                       <img src="images/doc.gif" border="0"/>
                    </a>
                    <xsl:choose>
                       <xsl:when test="count($up)>0">
                          <a>
                             <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$up"/></xsl:call-template></xsl:attribute>
                             <img src="images/toc.gif" border="0"/>
                          </a>
                       </xsl:when>
                       <xsl:otherwise>&#160;</xsl:otherwise>
                    </xsl:choose>
                    <xsl:if test="count($prev)>0">
                       <a>
                          <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$prev"/></xsl:call-template></xsl:attribute>
                          <img src="images/prev.gif" border="0"/>
                       </a>
                    </xsl:if>
                    <xsl:if test="count($next)>0">
                       <a>
                          <xsl:attribute name="href"><xsl:call-template 
name="href.target"><xsl:with-param name="object" 
select="$next"/></xsl:call-template></xsl:attribute>
                          <img src="images/next.gif" border="0"/>
                       </a>
                    </xsl:if>
                 </td>
              </tr>
              <tr/>
           </table>
        </xsl:if>
     </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  manual/src/stylesheets/plain.xsl
  
  Index: plain.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <!-- $Id: plain.xsl,v 1.1 2001/08/29 09:19:35 user57 Exp $ -->
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                  version="1.0">
  
     <xsl:import href="file:[EMAIL PROTECTED]@/html/chunk.xsl"/>
  
     <xsl:param name="toc.section.depth">1</xsl:param>
     <xsl:param name="html.stylesheet">styles.css</xsl:param>
  
  </xsl:stylesheet>
  
  
  
  1.1                  manual/src/stylesheets/printable.xsl
  
  Index: printable.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <!-- $Id: printable.xsl,v 1.1 2001/08/29 09:19:35 user57 Exp $ -->
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                  version="1.0">
  
     <xsl:import href="file:[EMAIL PROTECTED]@/html/docbook.xsl"/>
     <xsl:param name="html.stylesheet">styles.css</xsl:param>
  
  </xsl:stylesheet>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to