You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2016/10/21 14:05:07 UTC

svn commit: r1766026 - /poi/site/src/documentation/skins/poi-site/xslt/html/document2html.xsl

Author: onealj
Date: Fri Oct 21 14:05:07 2016
New Revision: 1766026

URL: http://svn.apache.org/viewvc?rev=1766026&view=rev
Log:
whitespace (tabs to 3 spaces)

Modified:
    poi/site/src/documentation/skins/poi-site/xslt/html/document2html.xsl

Modified: poi/site/src/documentation/skins/poi-site/xslt/html/document2html.xsl
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/skins/poi-site/xslt/html/document2html.xsl?rev=1766026&r1=1766025&r2=1766026&view=diff
==============================================================================
--- poi/site/src/documentation/skins/poi-site/xslt/html/document2html.xsl (original)
+++ poi/site/src/documentation/skins/poi-site/xslt/html/document2html.xsl Fri Oct 21 14:05:07 2016
@@ -42,13 +42,13 @@ and tabs (tab2menu.xsl) to generate the
   <xsl:if test="not(book)">
       <document>
       <xsl:choose>
-		<xsl:when test="header/title">
-		      <title><xsl:value-of select="header/title"/></title>
-		</xsl:when>
-		<xsl:otherwise>
-			<title>NO TITLE</title>
-		</xsl:otherwise>
-	</xsl:choose>
+      <xsl:when test="header/title">
+            <title><xsl:value-of select="header/title"/></title>
+      </xsl:when>
+      <xsl:otherwise>
+         <title>NO TITLE</title>
+      </xsl:otherwise>
+   </xsl:choose>
       <body>
         <xsl:apply-templates/>
         <xsl:if test="header/authors">
@@ -96,28 +96,28 @@ and tabs (tab2menu.xsl) to generate the
 
    <xsl:template match="section">
 
-	 <xsl:variable name = "level" select = "count(ancestor::section)+1" />
-	 <xsl:apply-templates select="@id"/>
-	 <xsl:choose>
-	 	<xsl:when test="$level=1">
-	 	  <div class="h3"><h3><xsl:value-of select="title"/></h3></div>
-	      <xsl:apply-templates/>
-	 	</xsl:when>
-	 	<xsl:when test="$level=2">
-	 	  <div class="h4"><h4><xsl:value-of select="title"/></h4></div>
-	      <xsl:apply-templates/>
-	 	</xsl:when>
-	 	<xsl:when test="$level=3">
-	 	  <div class="h2"><h2><xsl:value-of select="title"/></h2></div>
-	      <xsl:apply-templates/>
-	 	</xsl:when>
-	 	<xsl:otherwise>
-	 	  <div class="h5"><h5><xsl:value-of select="title"/></h5></div>
-	      <xsl:apply-templates/>
-	 	</xsl:otherwise>
-	 </xsl:choose>
+    <xsl:variable name = "level" select = "count(ancestor::section)+1" />
+    <xsl:apply-templates select="@id"/>
+    <xsl:choose>
+       <xsl:when test="$level=1">
+         <div class="h3"><h3><xsl:value-of select="title"/></h3></div>
+         <xsl:apply-templates/>
+       </xsl:when>
+       <xsl:when test="$level=2">
+         <div class="h4"><h4><xsl:value-of select="title"/></h4></div>
+         <xsl:apply-templates/>
+       </xsl:when>
+       <xsl:when test="$level=3">
+         <div class="h2"><h2><xsl:value-of select="title"/></h2></div>
+         <xsl:apply-templates/>
+       </xsl:when>
+       <xsl:otherwise>
+         <div class="h5"><h5><xsl:value-of select="title"/></h5></div>
+         <xsl:apply-templates/>
+       </xsl:otherwise>
+    </xsl:choose>
 
-	</xsl:template>
+   </xsl:template>
 
  <xsl:template match="title">
  </xsl:template>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org