| Author | Dave Jarvis <email> |
|---|---|
| Date | 2015-01-15 23:26:22 GMT-0800 |
| Commit | e2ff2eeb236ac736095c04a303e958581d9c1126 |
| Parent | 6c1cbe6 |
| <div class="bullet" style="background-color:{$colour}"/> | ||
| </td> | ||
| - <td class="category"><xsl:value-of select="." /></td> | ||
| - <td class="amount"><xsl:value-of select="$amount" /></td> | ||
| - <td class="percent"><xsl:value-of select="$percent" /></td> | ||
| + <td class="category"><xsl:value-of select="."/></td> | ||
| + <td class="amount"><xsl:value-of select="$amount"/></td> | ||
| + <td class="percent"><xsl:value-of select="$percent"/></td> | ||
| </tr> | ||
| </xsl:for-each> |
| | http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html | ||
| +--> | ||
| - <xsl:variable name="r_n" select="$r div 255" /> | ||
| - <xsl:variable name="g_n" select="$g div 255" /> | ||
| - <xsl:variable name="b_n" select="$b div 255" /> | ||
| + <xsl:variable name="r_n" select="$r div 255"/> | ||
| + <xsl:variable name="g_n" select="$g div 255"/> | ||
| + <xsl:variable name="b_n" select="$b div 255"/> | ||
| <!-- | ||
| </xsl:when> | ||
| <xsl:otherwise> | ||
| - <xsl:value-of select="($LAB_K * $xyz_n + 16.0) div 116.0" /> | ||
| + <xsl:value-of select="($LAB_K * $xyz_n + 16.0) div 116.0"/> | ||
| </xsl:otherwise> | ||
| </xsl:choose> | ||
| <xsl:template match="/"> | ||
| - <xsl:apply-templates /> | ||
| + <xsl:apply-templates/> | ||
| </xsl:template> | ||
| <xsl:template match="page"> | ||
| <xsl:result-document href="{@file}.html" format="html"> | ||
| <html> | ||
| <head> | ||
| - <meta charset="utf-8" /> | ||
| - <link rel="stylesheet" type="text/css" href="css/tour.css" /> | ||
| + <meta charset="utf-8"/> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"/> | ||
| </head> | ||
| <body> | ||
| </xsl:if> | ||
| </div> | ||
| -<hr /> | ||
| +<hr/> | ||
| <iframe id="page" src="{@file}.xml" width="100%" height="100%" frameborder="0"> | ||
| </iframe> | ||
| Delta | 11 lines added, 11 lines removed |
|---|