You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by bd...@apache.org on 2009/12/25 09:40:50 UTC

svn commit: r893841 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/round-corner-hex.svg.xslt

Author: bdube
Date: Fri Dec 25 08:40:50 2009
New Revision: 893841

URL: http://svn.apache.org/viewvc?rev=893841&view=rev
Log:
Adjust whitespace
See http://www.mail-archive.com/dev@forrest.apache.org/msg16143.html

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/round-corner-hex.svg.xslt

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/round-corner-hex.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/round-corner-hex.svg.xslt?rev=893841&r1=893840&r2=893841&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/round-corner-hex.svg.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/round-corner-hex.svg.xslt Fri Dec 25 08:40:50 2009
@@ -34,12 +34,9 @@
   </xsl:variable>
   <xsl:variable name="smallersize" select="number($isize)-1" />
   <xsl:variable name="biggersize" select="number($isize)+1" />
-  <xsl:variable name="bg">fill:# 
-  <xsl:value-of select="$bg-color-name" />;</xsl:variable>
-  <xsl:variable name="fill">fill:# 
-  <xsl:value-of select="$fg-color-name" />;</xsl:variable>
-  <xsl:variable name="stroke">stroke:# 
-  <xsl:value-of select="$stroke-color-name" />;</xsl:variable>
+  <xsl:variable name="bg">fill:#<xsl:value-of select="$bg-color-name" />;</xsl:variable>
+  <xsl:variable name="fill">fill:#<xsl:value-of select="$fg-color-name" />;</xsl:variable>
+  <xsl:variable name="stroke">stroke:#<xsl:value-of select="$stroke-color-name" />;</xsl:variable>
   <xsl:template match="/">
     <svg width="{$isize}" height="{$isize}">
       <!-- background -->
@@ -61,15 +58,13 @@
       <xsl:variable name="flip-tb-translate">
         <xsl:choose>
           <xsl:when test="$orientation-tb='t'">0</xsl:when>
-          <xsl:otherwise>- 
-          <xsl:value-of select="$isize" /></xsl:otherwise>
+          <xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
       <xsl:variable name="flip-lr-translate">
         <xsl:choose>
           <xsl:when test="$orientation-lr='l'">0</xsl:when>
-          <xsl:otherwise>- 
-          <xsl:value-of select="$isize" /></xsl:otherwise>
+          <xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
       <!-- flip transform -->