src/share/vm/prims/jvmti.xsl

Print this page




1016 
1017 <xsl:template match="eventphaselist">
1018   <xsl:variable name="phase" select="@phase"/>
1019   <ul>
1020     <xsl:for-each select="//eventsection/event[@phase=$phase]">   
1021       <li>
1022         <a>
1023           <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
1024           <b>
1025             <xsl:value-of select="@id"/>
1026           </b>
1027         </a>
1028       </li>
1029     </xsl:for-each>
1030   </ul>
1031 </xsl:template>
1032 
1033 <xsl:template match="externallink">
1034   <a>
1035     <xsl:attribute name="href">




1036       <xsl:value-of select="@id"/>
1037     </xsl:attribute>
1038     <xsl:value-of select="."/>
1039   </a>
1040 </xsl:template>
1041 
1042 <xsl:template match="vmspec">
1043   <cite>
1044     <xsl:text>The Java&#8482; Virtual Machine Specification</xsl:text>
1045     <xsl:if test="count(@chapter)=1">
1046       <xsl:text>, Chapter </xsl:text> 
1047       <xsl:value-of select="@chapter"/>
1048     </xsl:if>
1049   </cite>
1050 </xsl:template>
1051 
1052 <xsl:template match="internallink">
1053   <a>
1054     <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
1055     <xsl:apply-templates/>




1016 
1017 <xsl:template match="eventphaselist">
1018   <xsl:variable name="phase" select="@phase"/>
1019   <ul>
1020     <xsl:for-each select="//eventsection/event[@phase=$phase]">   
1021       <li>
1022         <a>
1023           <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
1024           <b>
1025             <xsl:value-of select="@id"/>
1026           </b>
1027         </a>
1028       </li>
1029     </xsl:for-each>
1030   </ul>
1031 </xsl:template>
1032 
1033 <xsl:template match="externallink">
1034   <a>
1035     <xsl:attribute name="href">
1036       <!-- All external links start from the same prefix -->
1037       <xsl:text>http://docs.oracle.com/javase/</xsl:text>
1038       <xsl:value-of select="//specification/@majorversion"/>
1039       <xsl:text>/</xsl:text>
1040       <xsl:value-of select="@id"/>
1041     </xsl:attribute>
1042     <xsl:value-of select="."/>
1043   </a>
1044 </xsl:template>
1045 
1046 <xsl:template match="vmspec">
1047   <cite>
1048     <xsl:text>The Java&#8482; Virtual Machine Specification</xsl:text>
1049     <xsl:if test="count(@chapter)=1">
1050       <xsl:text>, Chapter </xsl:text> 
1051       <xsl:value-of select="@chapter"/>
1052     </xsl:if>
1053   </cite>
1054 </xsl:template>
1055 
1056 <xsl:template match="internallink">
1057   <a>
1058     <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
1059     <xsl:apply-templates/>