diff options
author | Josh Micich <josh@apache.org> | 2009-06-04 23:01:06 +0000 |
---|---|---|
committer | Josh Micich <josh@apache.org> | 2009-06-04 23:01:06 +0000 |
commit | 3310bb6c1fafe6c23a388b311bbdcc75ea95996d (patch) | |
tree | 76a1fa62a8e076d3ebda2e5700ceba9031266fc9 /src/documentation/skins/poi-site | |
parent | 48d660d0ae2cafc18a5cdb28ce4563ff0e19dd9f (diff) | |
download | poi-3310bb6c1fafe6c23a388b311bbdcc75ea95996d.tar.gz poi-3310bb6c1fafe6c23a388b311bbdcc75ea95996d.zip |
Removed RCS tags from xml documents. Also removed trailing whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@781867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/skins/poi-site')
-rw-r--r-- | src/documentation/skins/poi-site/xslt/html/document2html.xsl | 41 | ||||
-rw-r--r-- | src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl | 25 |
2 files changed, 32 insertions, 34 deletions
diff --git a/src/documentation/skins/poi-site/xslt/html/document2html.xsl b/src/documentation/skins/poi-site/xslt/html/document2html.xsl index cad0b0869e..6e8a05d5e0 100644 --- a/src/documentation/skins/poi-site/xslt/html/document2html.xsl +++ b/src/documentation/skins/poi-site/xslt/html/document2html.xsl @@ -28,7 +28,6 @@ to HTML. It renders XML as HTML in this form: ..which site2xhtml.xsl then combines with HTML from the index (book2menu.xsl) and tabs (tab2menu.xsl) to generate the final HTML. -$Id$ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> @@ -53,7 +52,7 @@ $Id$ <body> <xsl:apply-templates/> <xsl:if test="header/authors"> - <div align="right" id="authors"> + <div align="right" id="authors"> <xsl:for-each select="header/authors/person"> <xsl:choose> <xsl:when test="position()=1">by </xsl:when> @@ -65,14 +64,14 @@ $Id$ <!-- </a> --> </xsl:for-each> </div> - </xsl:if> + </xsl:if> <!--xsl:call-template name="pdflink"/--> </body> </document> </xsl:if> - - + + <xsl:if test="book"> <xsl:apply-templates/> </xsl:if> @@ -81,8 +80,8 @@ $Id$ <xsl:template match="body"> <xsl:apply-templates/> </xsl:template> - - + + <!-- ====================================================================== --> <!-- header section --> <!-- ====================================================================== --> @@ -96,9 +95,9 @@ $Id$ <!-- ====================================================================== --> <xsl:template match="section"> - + <xsl:variable name = "level" select = "count(ancestor::section)+1" /> - + <xsl:choose> <xsl:when test="$level=1"> <div class="h3"><h3><xsl:value-of select="title"/></h3></div> @@ -114,15 +113,15 @@ $Id$ </xsl:when> <xsl:otherwise> <div class="h5"><h5><xsl:value-of select="title"/></h5></div> - <xsl:apply-templates/> + <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> - </xsl:template> + </xsl:template> <xsl:template match="title"> </xsl:template> - + <!-- ====================================================================== --> <!-- footer section --> <!-- ====================================================================== --> @@ -146,11 +145,11 @@ $Id$ <xsl:template match="source"> <xsl:apply-imports/> </xsl:template> - + <xsl:template match="//source/font"> <font color="{@color}"><xsl:apply-templates/></font> </xsl:template> - + <xsl:template match="fixme"> <xsl:apply-imports/> </xsl:template> @@ -162,7 +161,7 @@ $Id$ <xsl:template match="ul|ol|dl"> <xsl:apply-imports/> </xsl:template> - + <xsl:template match="li"> <xsl:apply-imports/> </xsl:template> @@ -194,7 +193,7 @@ $Id$ <xsl:attribute name="class">b</xsl:attribute> </xsl:otherwise> </xsl:choose> - + <xsl:apply-templates/> </tr> </xsl:template> @@ -210,7 +209,7 @@ $Id$ <xsl:template match="tn"> <xsl:apply-imports/> </xsl:template> - + <xsl:template match="caption"> <!-- ignore since already used --> </xsl:template> @@ -230,7 +229,7 @@ $Id$ <xsl:template match="code"> <xsl:apply-imports/> </xsl:template> - + <!-- ====================================================================== --> <!-- images section --> <!-- ====================================================================== --> @@ -238,7 +237,7 @@ $Id$ <xsl:template match="figure"> <xsl:apply-imports/> </xsl:template> - + <xsl:template match="img"> <xsl:apply-imports/> </xsl:template> @@ -269,7 +268,7 @@ $Id$ <xsl:template match="anchor"> <xsl:apply-imports/> - </xsl:template> + </xsl:template> <!-- ====================================================================== --> <!-- specials section --> @@ -281,7 +280,7 @@ $Id$ <!-- Generates the PDF link --> <xsl:template name="pdflink"> - <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> + <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> <div align="right" id="pdf"><a href="{$filename-noext}.pdf"> <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/><br/> PDF</a> diff --git a/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl b/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl index b13ff57041..74c0661d17 100644 --- a/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl +++ b/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl @@ -34,7 +34,6 @@ footer, searchbar, css etc. As input, it takes XML of the form: </div> </site> -$Id$ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> @@ -54,13 +53,13 @@ $Id$ <xsl:value-of select="/site/document/title" /> </title> </head> - + <body class="composite" bgcolor="white"> - + <xsl:comment>================= start Banner ==================</xsl:comment> <div id="banner"> <table border="0" summary="banner" cellspacing="0" cellpadding="8" width="100%"> - <tbody> + <tbody> <tr> <xsl:comment>================= start Group Logo ==================</xsl:comment> <xsl:if test="$config/group-name"> @@ -89,24 +88,24 @@ $Id$ </td> <xsl:comment>================= end Project Logo ==================</xsl:comment> </tr> - </tbody> + </tbody> </table> </div> <xsl:comment>================= end Banner ==================</xsl:comment> <xsl:comment>================= start Main ==================</xsl:comment> <table id="breadcrumbs" summary="nav" border="0" cellspacing="0" cellpadding="0" width="100%"> - <tbody> + <tbody> <xsl:comment>================= start Status ==================</xsl:comment> <tr class="status"> <td> <xsl:comment>================= start BreadCrumb ==================</xsl:comment> - <a href="{$config/trail/link1/@href}"><xsl:value-of select="$config/trail/link1/@name" /></a> - <xsl:if test = "($config/trail/link2/@name)and(normalize-space($config/trail/link2/@name)!='')"><xsl:text> | </xsl:text></xsl:if> + <a href="{$config/trail/link1/@href}"><xsl:value-of select="$config/trail/link1/@name" /></a> + <xsl:if test = "($config/trail/link2/@name)and(normalize-space($config/trail/link2/@name)!='')"><xsl:text> | </xsl:text></xsl:if> <a href="{$config/trail/link2/@href}"><xsl:value-of select="$config/trail/link2/@name" /></a> - <xsl:if test = "($config/trail/link3/@name)and(normalize-space($config/trail/link3/@name)!='')"><xsl:text> | </xsl:text></xsl:if> + <xsl:if test = "($config/trail/link3/@name)and(normalize-space($config/trail/link3/@name)!='')"><xsl:text> | </xsl:text></xsl:if> <a href="{$config/trail/link3/@href}"><xsl:value-of select="$config/trail/link3/@name" /></a> - <!-- useful when we have <link> elements instead of link(n:=1..3) + <!-- useful when we have <link> elements instead of link(n:=1..3) <xsl:for-each select="$config/trail/link"> <xsl:if test="position()!=1">|</xsl:if> <a href="{@href}"><xsl:value-of select="@name"/></a> @@ -120,8 +119,8 @@ $Id$ <xsl:comment>================= end Tabs ==================</xsl:comment> </td> </tr> - </tbody> - </table> + </tbody> + </table> <xsl:comment>================= end Status ==================</xsl:comment> @@ -188,7 +187,7 @@ $Id$ </td> <xsl:comment>================= end Content ==================</xsl:comment> </tr> - </tbody> + </tbody> </table> <xsl:comment>================= end Main ==================</xsl:comment> |