1037 </xsl:attribute> |
1037 </xsl:attribute> |
1038 <xsl:value-of select="."/> |
1038 <xsl:value-of select="."/> |
1039 </a> |
1039 </a> |
1040 </xsl:template> |
1040 </xsl:template> |
1041 |
1041 |
1042 <xsl:template match="vmspeclink"> |
1042 <xsl:template match="vmspec"> |
1043 <xsl:if test="count(@id)=1"> |
1043 <cite> |
1044 <a> |
1044 <xsl:text>The Java™ Virtual Machine Specification</xsl:text> |
1045 <xsl:attribute name="href"> |
1045 <xsl:if test="count(@chapter)=1"> |
1046 <xsl:text>http://java.sun.com/docs/books/vmspec/2nd-edition/html/</xsl:text> |
1046 <xsl:text>, Chapter </xsl:text> |
1047 <xsl:value-of select="@id"/> |
1047 <xsl:value-of select="@chapter"/> |
1048 </xsl:attribute> |
1048 </xsl:if> |
1049 <xsl:value-of select="@name"/> |
1049 </cite> |
1050 </a> |
|
1051 <xsl:text> </xsl:text> |
|
1052 <xsl:choose> |
|
1053 <xsl:when test="count(@preposition)=1"> |
|
1054 <xsl:value-of select="@preposition"/> |
|
1055 </xsl:when> |
|
1056 <xsl:otherwise> |
|
1057 <xsl:text>of</xsl:text> |
|
1058 </xsl:otherwise> |
|
1059 </xsl:choose> |
|
1060 <xsl:text> the </xsl:text> |
|
1061 </xsl:if> |
|
1062 <a> |
|
1063 <xsl:attribute name="href"> |
|
1064 <xsl:text>http://java.sun.com/docs/books/vmspec/</xsl:text> |
|
1065 </xsl:attribute> |
|
1066 <i> |
|
1067 <xsl:text>Java Virtual Machine Specification</xsl:text> |
|
1068 </i> |
|
1069 </a> |
|
1070 </xsl:template> |
1050 </xsl:template> |
1071 |
1051 |
1072 <xsl:template match="internallink"> |
1052 <xsl:template match="internallink"> |
1073 <a> |
1053 <a> |
1074 <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute> |
1054 <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute> |