src/share/vm/prims/jvmti.xsl

changeset 2862
1d80a2429f59
parent 1907
c18cbe5936b8
child 6876
710a3c8b516e
     1.1 --- a/src/share/vm/prims/jvmti.xsl	Thu May 05 09:33:14 2011 -0400
     1.2 +++ b/src/share/vm/prims/jvmti.xsl	Thu May 05 12:50:42 2011 -0400
     1.3 @@ -1039,34 +1039,14 @@
     1.4    </a>
     1.5  </xsl:template>
     1.6  
     1.7 -<xsl:template match="vmspeclink">
     1.8 -  <xsl:if test="count(@id)=1">
     1.9 -    <a>
    1.10 -      <xsl:attribute name="href">
    1.11 -        <xsl:text>http://java.sun.com/docs/books/vmspec/2nd-edition/html/</xsl:text>
    1.12 -        <xsl:value-of select="@id"/>
    1.13 -      </xsl:attribute>
    1.14 -      <xsl:value-of select="@name"/>
    1.15 -    </a>
    1.16 -    <xsl:text> </xsl:text>
    1.17 -    <xsl:choose>
    1.18 -      <xsl:when test="count(@preposition)=1">
    1.19 -        <xsl:value-of select="@preposition"/>
    1.20 -      </xsl:when>
    1.21 -      <xsl:otherwise>
    1.22 -        <xsl:text>of</xsl:text>
    1.23 -      </xsl:otherwise>
    1.24 -    </xsl:choose>
    1.25 -    <xsl:text> the </xsl:text>
    1.26 -  </xsl:if>
    1.27 -  <a>
    1.28 -    <xsl:attribute name="href">
    1.29 -      <xsl:text>http://java.sun.com/docs/books/vmspec/</xsl:text>
    1.30 -    </xsl:attribute>
    1.31 -    <i>
    1.32 -      <xsl:text>Java Virtual Machine Specification</xsl:text>
    1.33 -    </i>
    1.34 -  </a>
    1.35 +<xsl:template match="vmspec">
    1.36 +  <cite>
    1.37 +    <xsl:text>The Java&#8482; Virtual Machine Specification</xsl:text>
    1.38 +    <xsl:if test="count(@chapter)=1">
    1.39 +      <xsl:text>, Chapter </xsl:text> 
    1.40 +      <xsl:value-of select="@chapter"/>
    1.41 +    </xsl:if>
    1.42 +  </cite>
    1.43  </xsl:template>
    1.44  
    1.45  <xsl:template match="internallink">

mercurial