User: user57 Date: 01/08/27 21:53:11 Added: src/stylesheets jboss.xsl Log: o docbook files have been moved to thirdparty o xalanj1compat.jar does not appear to be needed anymore o updated build.sh to set ANT_HOME & support using xerces via JAXP="xerces" o added xerces.jar (2.0.0 b2) & batik.jar for fop (still doesn't work) o moved stylesheets from src/docs to src/stylesheets o setup compile tasks to make use of property filtering o changed printable-html to html-printable & html to html-default Revision Changes Path 1.1 manual/src/stylesheets/jboss.xsl Index: jboss.xsl =================================================================== <?xml version="1.0"?> <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" width="432" height="79"/> </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" width="63" height="65" 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" width="60" height="65" border="0"/> </a> </xsl:when> <xsl:otherwise> </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" width="76" height="65" 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" width="60" height="65" 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" width="432" height="79"/> </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" width="63" height="65" 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" width="60" height="65" border="0"/> </a> </xsl:when> <xsl:otherwise> </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" width="76" height="65" 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" width="60" height="65" border="0"/> </a> </xsl:if> </td> </tr> <tr/> </table> </xsl:if> </xsl:template> </xsl:stylesheet> _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
