Lines 14-20
Link Here
|
14 |
<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable> |
14 |
<xsl:variable name='enhanced_tag'>Enhanced: <xsl:value-of select="$postgis_version" /></xsl:variable> |
15 |
<xsl:variable name='include_examples'>false</xsl:variable> |
15 |
<xsl:variable name='include_examples'>false</xsl:variable> |
16 |
<xsl:variable name='output_purpose'>true</xsl:variable> |
16 |
<xsl:variable name='output_purpose'>true</xsl:variable> |
17 |
<xsl:variable name='linkstub'>http://www.postgis.org/documentation/manual-svn/</xsl:variable> |
17 |
<xsl:variable name='linkstub'>postgis.html#</xsl:variable> |
18 |
<xsl:template match="/"> |
18 |
<xsl:template match="/"> |
19 |
<xsl:text><![CDATA[<html><head><title>PostGIS Topology Cheat Sheet</title> |
19 |
<xsl:text><![CDATA[<html><head><title>PostGIS Topology Cheat Sheet</title> |
20 |
<style type="text/css"> |
20 |
<style type="text/css"> |
Lines 108-114
Link Here
|
108 |
<xsl:for-each select="refentry"> |
108 |
<xsl:for-each select="refentry"> |
109 |
<!-- add row for each function and alternate colors of rows --> |
109 |
<!-- add row for each function and alternate colors of rows --> |
110 |
<!-- , hyperlink to online manual --> |
110 |
<!-- , hyperlink to online manual --> |
111 |
<![CDATA[<tr]]> class="<xsl:choose><xsl:when test="position() mod 2 = 0">evenrow</xsl:when><xsl:otherwise>oddrow</xsl:otherwise></xsl:choose>" <![CDATA[><td colspan='2'><span class='func'>]]><xsl:text><![CDATA[<a href="]]></xsl:text><xsl:value-of select="$linkstub" /><xsl:value-of select="@id" />.html<xsl:text><![CDATA[" target="_blank">]]></xsl:text><xsl:value-of select="refnamediv/refname" /><xsl:text><![CDATA[</a>]]></xsl:text><![CDATA[</span>]]><xsl:if test="contains(.,$new_tag)"><![CDATA[<sup>1</sup> ]]></xsl:if> |
111 |
<![CDATA[<tr]]> class="<xsl:choose><xsl:when test="position() mod 2 = 0">evenrow</xsl:when><xsl:otherwise>oddrow</xsl:otherwise></xsl:choose>" <![CDATA[><td colspan='2'><span class='func'>]]><xsl:text><![CDATA[<a href="]]></xsl:text><xsl:value-of select="$linkstub" /><xsl:value-of select="@id" /><xsl:text><![CDATA[" target="_blank">]]></xsl:text><xsl:value-of select="refnamediv/refname" /><xsl:text><![CDATA[</a>]]></xsl:text><![CDATA[</span>]]><xsl:if test="contains(.,$new_tag)"><![CDATA[<sup>1</sup> ]]></xsl:if> |
112 |
<!-- enhanced tag --> |
112 |
<!-- enhanced tag --> |
113 |
<xsl:if test="contains(.,$enhanced_tag)"><![CDATA[<sup>2</sup> ]]></xsl:if> |
113 |
<xsl:if test="contains(.,$enhanced_tag)"><![CDATA[<sup>2</sup> ]]></xsl:if> |
114 |
<xsl:if test="contains(.,'implements the SQL/MM')"><![CDATA[<sup>mm</sup> ]]></xsl:if> |
114 |
<xsl:if test="contains(.,'implements the SQL/MM')"><![CDATA[<sup>mm</sup> ]]></xsl:if> |