hotspot/src/share/vm/prims/jvmti.xsl
author stefank
Mon, 01 Oct 2012 13:29:11 +0200
changeset 13922 ab7d352debe6
parent 9431 e3bea7d56a98
child 36508 5f9eee6b383b
permissions -rw-r--r--
8000227: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream Reviewed-by: brutisso, sla, jmasa, coleenp
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0"?> 
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
<!--
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
     3
 Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    19
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
    22
 questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
-->
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
<xsl:import href="jvmtiLib.xsl"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
<xsl:output method="html" indent="yes" 
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" 
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
  doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
<xsl:param name="development"></xsl:param>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
<xsl:template match="specification">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
  <html>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
  <head>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
        <title>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
          <xsl:text> </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
          <xsl:call-template name="showversion"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
        </title>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
        <style type="text/css">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
          td.tableHeader {font-size: larger}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
        </style>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
  </head>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
  <body>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
    <table border="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
        <td align="center">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
          <xsl:apply-templates select="title"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
        <a href="#SpecificationIntro"><b>Introduction</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
          <xsl:for-each select="intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
            <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
              <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
                <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
                </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
                <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
              </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
            </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
        <a href="#FunctionSection"><b>Functions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
          <xsl:for-each select="functionsection/intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
            <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
              <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
                <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
                </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
                <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
              </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
            </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
            <a href="#FunctionIndex"><b>Function Index</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
            <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
              <xsl:for-each select="functionsection/category">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
                <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
                  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
                    <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
                    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
                    <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
                  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
                </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
              </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
            </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
            <a href="#ErrorSection"><b>Error Codes</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
        <a href="#EventSection"><b>Events</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
            <a href="#EventIndex"><b>Event Index</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
        <a href="#DataSection"><b>Data Types</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
          <xsl:for-each select="//basetypes">   
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
            <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
              <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
              <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
                <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
              </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
            </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
            <a href="#StructureTypeDefinitions"><b>Structure Type Definitions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
            <a href="#FunctionTypeDefinitions"><b>Function Type Definitions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
            <a href="#EnumerationDefinitions"><b>Enumeration Definitions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
            <a href="#FunctionTable"><b>Function Table</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
        <a href="#ConstantIndex"><b>Constant Index</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
      <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
        <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
          <a href="#SpecificationIssues"><b>Issues</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
          <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
            <xsl:for-each select="issuessection/intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
              <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
                <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
                  <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
                  </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
                  <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
                </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
              </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
            </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
          </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
        </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
        <a href="#ChangeHistory"><b>Change History</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
    </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
    <!-- end table of contents, begin body -->
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
    <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
    <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
    <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
    <p id="SpecificationIntro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
      <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
    <p id="FunctionSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
      <xsl:apply-templates select="functionsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
    <p id="ErrorSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
      <xsl:apply-templates select="errorsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
    <p id="DataSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
      <xsl:apply-templates select="datasection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
    <p id="EventSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
      <xsl:apply-templates select="eventsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
    <p id="ConstantIndex"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
      <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
      <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
      <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
        Constant Index
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
      </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
      <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
        <xsl:apply-templates select="//constant" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
          <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
        </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
      </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
    <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
      <p id="SpecificationIssues"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
      <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
      <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
      <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
        <xsl:value-of select="issuessection/@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
      </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
      <xsl:apply-templates select="issuessection/intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
    </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
    <p id="ChangeHistory"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
      <xsl:apply-templates select="changehistory"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
  </body>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
</html>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
<xsl:template match="title">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
    <h1>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
    </h1>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
    <h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
      <xsl:value-of select="@subtitle"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
      <xsl:text> </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
      <xsl:call-template name="showbasicversion"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
    </h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
<xsl:template match="functionsection">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
  <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
  </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   217
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   218
  <h3 id="FunctionIndex">Function Index</h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   219
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   220
    <xsl:apply-templates select="category" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   221
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   222
  <xsl:apply-templates select="category" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   223
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   224
489c9b5090e2 Initial load
duke
parents:
diff changeset
   225
<xsl:template match="category" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   226
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   227
    <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   228
      <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
      <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   230
        <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   231
      </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
    </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   233
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   234
      <xsl:apply-templates select="function[count(@hide)=0]" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   235
    </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   236
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   237
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   238
489c9b5090e2 Initial load
duke
parents:
diff changeset
   239
<xsl:template match="function|callback" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   240
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   241
    <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   242
      <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   243
      <xsl:apply-templates select="synopsis" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   244
    </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   245
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   246
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   247
489c9b5090e2 Initial load
duke
parents:
diff changeset
   248
<xsl:template match="synopsis" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   249
    <xsl:value-of select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   250
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   251
489c9b5090e2 Initial load
duke
parents:
diff changeset
   252
<xsl:template match="category" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   253
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   254
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   255
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   256
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   257
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   258
  <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   259
  <h2 align="center"><xsl:value-of select="@label"/></h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   260
  <xsl:value-of select="@label"/> functions:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   261
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   262
    <xsl:apply-templates select="function[count(@hide)=0]" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   263
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   264
  <xsl:variable name="calltypes" select="callback"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   265
  <xsl:if test="count($calltypes)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   266
    <xsl:value-of select="@label"/> function types:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   267
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   268
      <xsl:apply-templates select="$calltypes" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   269
    </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   270
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   271
  <xsl:variable name="cattypes" 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   272
    select="(descendant::typedef|descendant::uniontypedef|descendant::capabilitiestypedef|descendant::constants[@kind='enum'])"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   273
  <xsl:if test="count($cattypes)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   274
    <xsl:value-of select="@label"/> types:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   275
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   276
      <xsl:for-each select="$cattypes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   277
        <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   278
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   279
            <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   280
              <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   281
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   282
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   283
            <code><xsl:value-of select="@id"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   284
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   285
          <xsl:text> - </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   286
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   287
        </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   288
      </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   289
    </ul>    
489c9b5090e2 Initial load
duke
parents:
diff changeset
   290
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   291
  <xsl:variable name="catconst" 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   292
    select="(descendant::constants[@kind!='enum'])"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   293
  <xsl:if test="count($catconst)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   294
    <xsl:value-of select="@label"/> flags and constants:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   295
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   296
      <xsl:for-each select="$catconst">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   297
        <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   298
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   299
            <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   300
              <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   301
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   302
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   303
            <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   304
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   305
        </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   306
      </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   307
    </ul>    
489c9b5090e2 Initial load
duke
parents:
diff changeset
   308
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   309
  <xsl:apply-templates select="intro|typedef|uniontypedef|capabilitiestypedef"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   310
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   311
  <xsl:apply-templates select="function[count(@hide)=0]|callback" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   312
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   313
489c9b5090e2 Initial load
duke
parents:
diff changeset
   314
<xsl:template match="function" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   315
  <hr noshade="noshade" width="100%" size="1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   316
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   317
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   318
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   319
    
489c9b5090e2 Initial load
duke
parents:
diff changeset
   320
  </hr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   321
  <xsl:apply-templates select="synopsis" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   322
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   323
    <xsl:apply-templates select="typedef" mode="code"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   324
    <xsl:apply-templates select="descendant::constants[@kind='enum']" mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   325
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   326
      <xsl:text>jvmtiError
489c9b5090e2 Initial load
duke
parents:
diff changeset
   327
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   328
      <xsl:value-of select="@id"/>(jvmtiEnv* env<xsl:apply-templates select="parameters" mode="signature"/>)</pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   329
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   330
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   331
  <xsl:apply-templates select="." mode="generalinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   332
  <xsl:apply-templates select="capabilities|eventcapabilities"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   333
  <xsl:apply-templates select="typedef" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   334
  <xsl:apply-templates select="parameters" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   335
  <xsl:apply-templates select="." mode="errors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   336
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   337
489c9b5090e2 Initial load
duke
parents:
diff changeset
   338
<xsl:template match="function" mode="generalinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   339
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   340
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   341
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   342
        <a href="#jvmtiPhase">Phase</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   343
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   344
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   345
        <a href="#heapCallbacks">Callback Safe</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   346
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   347
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   348
        <a href="#FunctionTable">Position</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   349
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   350
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   351
        <a href="#ChangeHistory">Since</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   352
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   353
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   354
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   355
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   356
        <xsl:apply-templates select="." mode="phaseinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   357
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   358
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   359
        <xsl:apply-templates select="." mode="callbacksafeinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   360
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   361
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   362
        <xsl:value-of select="@num"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   363
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   364
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   365
        <xsl:value-of select="@since"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   366
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   367
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   368
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   369
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   370
489c9b5090e2 Initial load
duke
parents:
diff changeset
   371
<xsl:template match="event" mode="generalinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   372
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   373
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   374
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   375
        <a href="#jvmtiPhase">Phase</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   376
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   377
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   378
        <a href="#jvmtiEvent">Event Type</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   379
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   380
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   381
        <a href="#jvmtiEvent">Number</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   382
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   383
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   384
        <a href="#enablingevents">Enabling</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   385
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   386
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   387
        <a href="#ChangeHistory">Since</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   388
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   389
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   390
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   391
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   392
        <xsl:apply-templates select="." mode="phaseinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   393
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   394
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   395
        <code><xsl:value-of select="@const"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   396
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   397
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   398
        <xsl:value-of select="@num"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   399
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   400
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   401
          <code><a href="#SetEventNotificationMode">SetEventNotificationMode</a>(JVMTI_ENABLE, 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   402
          <xsl:value-of select="@const"/>, NULL)</code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   403
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   404
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   405
        <xsl:value-of select="@since"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   406
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   407
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   408
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   409
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   410
489c9b5090e2 Initial load
duke
parents:
diff changeset
   411
<xsl:template match="function" mode="phaseinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   412
  may
489c9b5090e2 Initial load
duke
parents:
diff changeset
   413
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   414
    <xsl:when test="count(@phase) = 0 or @phase = 'live'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   415
      only be called during the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   416
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   417
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   418
      <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   419
        <xsl:when test="@phase = 'onload'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   420
          only be called during the OnLoad or the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   421
        </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   422
        <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   423
          <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   424
            <xsl:when test="@phase = 'any'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   425
              be called during any
489c9b5090e2 Initial load
duke
parents:
diff changeset
   426
            </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   427
            <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   428
              <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   429
                <xsl:when test="@phase = 'start'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   430
                  only be called during the start or the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   431
                </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   432
                <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   433
                  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   434
                    <xsl:when test="@phase = 'onloadOnly'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   435
                      only be called during the OnLoad
489c9b5090e2 Initial load
duke
parents:
diff changeset
   436
                    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   437
                    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   438
                      <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   439
                        bad phase - <xsl:value-of select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   440
                      </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   441
                    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   442
                  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   443
                </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   444
            </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   445
            </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   446
          </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   447
        </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   448
      </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   449
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   450
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   451
  phase
489c9b5090e2 Initial load
duke
parents:
diff changeset
   452
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   453
489c9b5090e2 Initial load
duke
parents:
diff changeset
   454
489c9b5090e2 Initial load
duke
parents:
diff changeset
   455
<xsl:template match="event" mode="phaseinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   456
  sent
489c9b5090e2 Initial load
duke
parents:
diff changeset
   457
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   458
    <xsl:when test="count(@phase) = 0 or @phase = 'live'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   459
      only during the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   460
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   461
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   462
      <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   463
        <xsl:when test="@phase = 'any'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   464
          during the primordial, start or live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   465
        </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   466
        <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   467
          <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   468
            <xsl:when test="@phase = 'start'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   469
              during the start or live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   470
            </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   471
            <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   472
              <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   473
                bad phase - <xsl:value-of select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   474
              </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   475
            </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   476
          </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   477
        </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   478
      </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   479
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   480
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   481
  phase
489c9b5090e2 Initial load
duke
parents:
diff changeset
   482
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   483
489c9b5090e2 Initial load
duke
parents:
diff changeset
   484
489c9b5090e2 Initial load
duke
parents:
diff changeset
   485
<xsl:template match="function" mode="callbacksafeinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   486
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   487
    <xsl:when test="contains(@callbacksafe,'safe')">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   488
    This function may be called from the callbacks to the
489c9b5090e2 Initial load
duke
parents:
diff changeset
   489
    <a href="#Heap">Heap</a> iteration functions, or from the
489c9b5090e2 Initial load
duke
parents:
diff changeset
   490
    event handlers for the 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   491
    <a href="#GarbageCollectionStart"><code>GarbageCollectionStart</code></a>,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   492
    <a href="#GarbageCollectionFinish"><code>GarbageCollectionFinish</code></a>,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   493
    and <a href="#ObjectFree"><code>ObjectFree</code></a> events.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   494
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   495
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   496
      No
489c9b5090e2 Initial load
duke
parents:
diff changeset
   497
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   498
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   499
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   500
489c9b5090e2 Initial load
duke
parents:
diff changeset
   501
489c9b5090e2 Initial load
duke
parents:
diff changeset
   502
<xsl:template match="callback" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   503
  <hr noshade="noshade" width="100%" size="1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   504
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   505
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   506
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   507
  </hr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   508
  <xsl:apply-templates select="synopsis" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   509
  <table cellpadding="0" cellspacing="0" border="0" width="90%" align="center"><tr><td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   510
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   511
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   512
      <xsl:text>typedef </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   513
      <xsl:apply-templates select="child::*[position()=1]" mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   514
      <xsl:text> (JNICALL *</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   515
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   516
      <xsl:text>)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   517
    (</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   518
      <xsl:for-each select="parameters">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   519
        <xsl:apply-templates select="param[position()=1]" mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   520
        <xsl:for-each select="param[position()>1]">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   521
          <xsl:text>, 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   522
     </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   523
          <xsl:apply-templates select="." mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   524
        </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   525
      </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   526
      <xsl:text>);</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   527
    </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   528
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   529
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   530
  <xsl:apply-templates select="parameters" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   531
</td></tr></table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   532
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   533
489c9b5090e2 Initial load
duke
parents:
diff changeset
   534
<xsl:template match="synopsis" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   535
  <h3><xsl:value-of select="."/></h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   536
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   537
489c9b5090e2 Initial load
duke
parents:
diff changeset
   538
<xsl:template match="eventsection">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   539
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   540
  <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   541
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   542
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   543
  </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   544
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   545
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   546
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   547
  <xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   548
typedef struct {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   549
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   550
  <xsl:call-template name="eventStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   551
    <xsl:with-param name="events" select="event"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   552
    <xsl:with-param name="index" select="0"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   553
    <xsl:with-param name="started" select="false"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   554
    <xsl:with-param name="comment" select="'No'"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   555
  </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   556
  <xsl:text>} jvmtiEventCallbacks;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   557
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   558
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   559
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   560
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   561
  <hr noshade="noshade" width="100%" size="1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   562
  <h3 id="EventIndex">Event Index</h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   563
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   564
    <xsl:apply-templates select="event" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   565
      <xsl:sort select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   566
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   567
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   568
  <xsl:apply-templates select="event" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   569
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   570
489c9b5090e2 Initial load
duke
parents:
diff changeset
   571
<xsl:template match="event" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   572
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   573
    <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   574
      <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   575
      <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   576
        <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   577
      </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   578
    </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   579
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   580
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   581
489c9b5090e2 Initial load
duke
parents:
diff changeset
   582
<xsl:template match="event" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   583
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   584
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   585
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   586
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   587
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   588
  <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   589
  <h2><xsl:value-of select="@label"/></h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   590
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   591
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   592
    <xsl:apply-templates select="typedef" mode="code"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   593
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   594
<xsl:text>void JNICALL
489c9b5090e2 Initial load
duke
parents:
diff changeset
   595
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   596
      <xsl:value-of select="@id"/>(jvmtiEnv *jvmti_env<xsl:apply-templates select="parameters" mode="signature"/>)</pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   597
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   598
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   599
  <xsl:apply-templates select="." mode="generalinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   600
  <xsl:apply-templates select="typedef" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   601
  <xsl:apply-templates select="capabilities"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   602
  <xsl:apply-templates select="parameters" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   603
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   604
489c9b5090e2 Initial load
duke
parents:
diff changeset
   605
<xsl:template match="capabilitiestypedef" mode="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   606
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   607
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   608
      <xsl:apply-templates select="." mode="genstruct"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   609
    </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   610
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   611
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   612
489c9b5090e2 Initial load
duke
parents:
diff changeset
   613
<xsl:template match="typedef" mode="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   614
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   615
  <xsl:call-template name="gentypedef">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   616
    <xsl:with-param name="tdef" select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   617
  </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   618
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   619
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   620
489c9b5090e2 Initial load
duke
parents:
diff changeset
   621
<xsl:template match="uniontypedef" mode="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   622
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   623
  <xsl:call-template name="genuniontypedef">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   624
    <xsl:with-param name="tdef" select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   625
  </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   626
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   627
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   628
489c9b5090e2 Initial load
duke
parents:
diff changeset
   629
<xsl:template match="capabilitiestypedef|typedef|uniontypedef" mode="description">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   630
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   631
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   632
489c9b5090e2 Initial load
duke
parents:
diff changeset
   633
<xsl:template match="capabilitiestypedef|typedef|uniontypedef">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   634
  <h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   635
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   636
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   637
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   638
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   639
  </h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   640
  <xsl:apply-templates select="." mode="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   641
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   642
    <xsl:apply-templates select="." mode="code"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   643
    <xsl:apply-templates select="." mode="justbody"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   644
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   645
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   646
489c9b5090e2 Initial load
duke
parents:
diff changeset
   647
<xsl:template match="constants" mode="signature">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   648
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   649
  <xsl:apply-templates select="." mode="enum"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   650
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   651
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   652
489c9b5090e2 Initial load
duke
parents:
diff changeset
   653
<xsl:template match="typedef|uniontypedef" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   654
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   655
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   656
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   657
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   658
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   659
  <xsl:apply-templates select="." mode="justbody"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   660
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   661
489c9b5090e2 Initial load
duke
parents:
diff changeset
   662
<xsl:template match="typedef|uniontypedef" mode="justbody">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   663
    <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   664
      <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   665
        <td colspan="3" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   666
          <code><xsl:value-of select="@id"/></code> - <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   667
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   668
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   669
      <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   670
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   671
          Field
489c9b5090e2 Initial load
duke
parents:
diff changeset
   672
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   673
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   674
          Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
   675
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   676
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   677
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   678
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   679
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   680
      <xsl:apply-templates select="field" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   681
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   682
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   683
489c9b5090e2 Initial load
duke
parents:
diff changeset
   684
<xsl:template match="capabilitiestypedef" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   685
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   686
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   687
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   688
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   689
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   690
  <xsl:apply-templates select="." mode="justbody"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   691
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   692
489c9b5090e2 Initial load
duke
parents:
diff changeset
   693
<xsl:template match="capabilitiestypedef" mode="justbody">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   694
    <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   695
      <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   696
        <td colspan="3" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   697
          <code><xsl:value-of select="@id"/></code> - <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   698
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   699
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   700
      <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   701
        <td colspan="3">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   702
          All types are <code>unsigned int : 1</code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   703
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   704
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   705
      <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   706
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   707
          Field
489c9b5090e2 Initial load
duke
parents:
diff changeset
   708
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   709
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   710
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   711
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   712
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   713
          <a href="#ChangeHistory">Since</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   714
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   715
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   716
      <xsl:apply-templates select="capabilityfield" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   717
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   718
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   719
489c9b5090e2 Initial load
duke
parents:
diff changeset
   720
<xsl:template match="typedef|uniontypedef|capabilitiestypedef|constants" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   721
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   722
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   723
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   724
        <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   725
          <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   726
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   727
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   728
        <code><xsl:value-of select="@id"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   729
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   730
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   731
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   732
      <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   733
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   734
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   735
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   736
489c9b5090e2 Initial load
duke
parents:
diff changeset
   737
<xsl:template match="field" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   738
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   739
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   740
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   741
        <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   742
          <xsl:value-of select="../@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   743
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   744
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   745
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   746
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   747
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   748
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   749
        <xsl:apply-templates select="child::*[position()=1]" mode="link"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   750
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   751
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   752
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   753
      <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   754
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   755
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   756
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   757
489c9b5090e2 Initial load
duke
parents:
diff changeset
   758
<xsl:template match="capabilityfield" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   759
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   760
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   761
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   762
        <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   763
          <xsl:when test="@disp1!=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   764
            <xsl:value-of select="@disp1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   765
            <br></br>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   766
            <xsl:value-of select="@disp2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   767
          </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   768
          <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   769
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   770
          </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   771
        </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   772
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   773
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   774
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   775
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   776
        <xsl:attribute name="name">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   777
          <xsl:value-of select="../@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   778
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   779
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   780
      <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   781
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   782
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   783
      <xsl:value-of select="@since"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   784
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   785
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   786
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   787
489c9b5090e2 Initial load
duke
parents:
diff changeset
   788
<xsl:template match="callback" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   789
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   790
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   791
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   792
        <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   793
          <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   794
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   795
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   796
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   797
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   798
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   799
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   800
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   801
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   802
      <xsl:apply-templates select="synopsis" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   803
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   804
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   805
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   806
489c9b5090e2 Initial load
duke
parents:
diff changeset
   807
<xsl:template match="constants">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   808
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   809
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   810
    <xsl:attribute name="name">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   811
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   812
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   813
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   814
    <table border="1" cellpadding="3" cellspacing="0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   815
      <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   816
        <td colspan="3" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   817
            <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   818
            <xsl:if test="@kind='enum'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   819
              <xsl:text> (</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   820
              <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   821
                <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   822
              </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   823
              <xsl:text>)</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   824
            </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   825
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   826
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   827
      <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   828
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   829
          Constant
489c9b5090e2 Initial load
duke
parents:
diff changeset
   830
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   831
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   832
          Value
489c9b5090e2 Initial load
duke
parents:
diff changeset
   833
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   834
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   835
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   836
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   837
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   838
      <xsl:apply-templates select="constant" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   839
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   840
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   841
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   842
489c9b5090e2 Initial load
duke
parents:
diff changeset
   843
<xsl:template match="constant" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   844
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   845
    <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   846
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   847
    <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   848
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   849
    </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   850
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   851
  <br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   852
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   853
489c9b5090e2 Initial load
duke
parents:
diff changeset
   854
<xsl:template match="constant" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   855
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   856
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   857
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   858
        <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   859
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   860
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   861
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   862
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   863
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   864
    <td align="right">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   865
      <xsl:value-of select="@num"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   866
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   867
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   868
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   869
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   870
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   871
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   872
489c9b5090e2 Initial load
duke
parents:
diff changeset
   873
<xsl:template match="basetypes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   874
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   875
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   876
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   877
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   878
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   879
    <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   880
      <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   881
        <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   882
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   883
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   884
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   885
      <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   886
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   887
          Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
   888
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   889
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   890
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   891
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   892
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   893
      <xsl:apply-templates select="basetype" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   894
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   895
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   896
489c9b5090e2 Initial load
duke
parents:
diff changeset
   897
<xsl:template match="basetype" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   898
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   899
    <xsl:when test="count(definition)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   900
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   901
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   902
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   903
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   904
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   905
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   906
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   907
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   908
            <xsl:attribute name="name">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   909
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   910
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   911
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   912
          <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   913
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   914
      </tr>      
489c9b5090e2 Initial load
duke
parents:
diff changeset
   915
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   916
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   917
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   918
        <td rowspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   919
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   920
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   921
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   922
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   923
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   924
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   925
            <xsl:attribute name="name">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   926
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   927
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   928
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   929
          <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   930
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   931
      </tr>      
489c9b5090e2 Initial load
duke
parents:
diff changeset
   932
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   933
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   934
          <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   935
            <xsl:apply-templates select="definition"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   936
          </pre>          
489c9b5090e2 Initial load
duke
parents:
diff changeset
   937
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   938
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   939
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   940
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   941
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   942
489c9b5090e2 Initial load
duke
parents:
diff changeset
   943
<xsl:template match="description">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   944
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   945
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   946
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   947
489c9b5090e2 Initial load
duke
parents:
diff changeset
   948
<xsl:template match="description" mode="brief">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   949
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   950
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   951
489c9b5090e2 Initial load
duke
parents:
diff changeset
   952
<xsl:template match="fieldlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   953
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   954
    <xsl:attribute name="href">#<xsl:value-of select="@struct"/>.<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   955
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   956
      <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   957
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   958
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   959
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
   960
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   961
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   962
        <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   963
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   964
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   965
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   966
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   967
489c9b5090e2 Initial load
duke
parents:
diff changeset
   968
<xsl:template match="paramlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   969
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   970
    <xsl:attribute name="href">#<xsl:value-of select="ancestor::function/@id|ancestor::event/@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   971
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   972
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   973
      <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   974
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   975
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   976
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
   977
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   978
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   979
        <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   980
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   981
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   982
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   983
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   984
489c9b5090e2 Initial load
duke
parents:
diff changeset
   985
<xsl:template match="eventlink|errorlink|typelink|datalink|functionlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   986
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   987
    <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   988
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   989
      <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   990
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   991
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   992
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
   993
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   994
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   995
        <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   996
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   997
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   998
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   999
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1000
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1001
<xsl:template match="functionphaselist">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1002
  <xsl:variable name="phase" select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1003
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1004
    <xsl:for-each select="/specification/functionsection/category/function[@phase=$phase and count(@hide)=0]">   
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1005
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1006
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1007
          <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1008
          <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1009
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1010
          </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1011
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1012
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1013
    </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1014
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1015
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1016
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1017
<xsl:template match="eventphaselist">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1018
  <xsl:variable name="phase" select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1019
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1020
    <xsl:for-each select="//eventsection/event[@phase=$phase]">   
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1021
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1022
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1023
          <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1024
          <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1025
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1026
          </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1027
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1028
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1029
    </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1030
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1031
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1032
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1033
<xsl:template match="externallink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1034
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1035
    <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1036
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1037
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1038
    <xsl:value-of select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1039
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1040
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1041
9431
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1042
<xsl:template match="vmspec">
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1043
  <cite>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1044
    <xsl:text>The Java&#8482; Virtual Machine Specification</xsl:text>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1045
    <xsl:if test="count(@chapter)=1">
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1046
      <xsl:text>, Chapter </xsl:text> 
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1047
      <xsl:value-of select="@chapter"/>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1048
    </xsl:if>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1049
  </cite>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1050
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1051
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1052
<xsl:template match="internallink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1053
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1054
    <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1055
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1056
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1057
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1058
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1059
<xsl:template match="parameters" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1060
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1061
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1062
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1063
      <td colspan="3" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1064
        Parameters
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1065
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1066
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1067
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1068
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1069
        Name
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1070
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1071
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1072
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1073
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1074
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1075
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1076
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1077
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1078
    <xsl:apply-templates select="param[count(jclass/@method)=0]" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1079
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1080
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1081
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1082
<xsl:template match="param" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1083
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1084
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1085
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1086
        <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1087
          <xsl:value-of select="../../@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1088
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1089
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1090
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1091
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1092
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1093
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1094
        <xsl:apply-templates select="child::*[position()=1]" mode="link"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1095
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1096
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1097
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1098
      <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1099
      <xsl:if test="count(ancestor::function)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1100
        <xsl:apply-templates select="child::*[position()=1]" mode="funcdescription"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1101
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1102
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1103
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1104
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1105
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1106
<xsl:template match="capabilities">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1107
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1108
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1109
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1110
      <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1111
        Capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1112
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1113
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1114
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1115
      <xsl:when test="count(required)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1116
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1117
          <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1118
            <b>Required Functionality</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1119
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1120
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1121
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1122
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1123
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1124
          <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1125
            <b>Optional Functionality:</b> might not be implemented for all
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1126
            virtual machines. 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1127
            <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1128
              <xsl:when test="count(required)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1129
                The following capability 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1130
              </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1131
              <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1132
                One of the following capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1133
              </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1134
            </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1135
            (as returned by 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1136
            <a href="#GetCapabilities"><code>GetCapabilities</code></a>)
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1137
            must be true to use this      
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1138
            <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1139
              <xsl:when test="ancestor::function">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1140
                function.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1141
              </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1142
              <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1143
                event.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1144
              </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1145
            </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1146
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1147
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1148
        <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1149
          <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1150
            Capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1151
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1152
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1153
            Effect
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1154
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1155
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1156
        <xsl:apply-templates select="required"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1157
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1158
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1159
    <xsl:if test="count(capability)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1160
      <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1161
        <td colspan="2" align="center">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1162
          Optional Features
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1163
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1164
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1165
      <xsl:if test="count(required)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1166
        <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1167
          <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1168
            Capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1169
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1170
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1171
            Effect
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1172
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1173
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1174
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1175
      <xsl:apply-templates select="capability"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1176
    </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1177
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1178
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1179
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1180
<xsl:template match="eventcapabilities">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1181
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1182
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1183
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1184
      <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1185
        Capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1186
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1187
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1188
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1189
      <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1190
        <b>Required Functionality</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1191
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1192
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1193
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1194
      <td colspan="2" align="center">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1195
        Event Enabling Capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1196
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1197
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1198
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1199
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1200
        Capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1201
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1202
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1203
        Events
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1204
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1205
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1206
    <xsl:for-each select="//capabilityfield">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1207
      <xsl:variable name="capa" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1208
      <xsl:variable name="events" select="//event[capabilities/required/@id=$capa]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1209
      <xsl:if test="count($events)">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1210
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1211
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1212
            <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1213
              <xsl:attribute name="href">#jvmtiCapabilities.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1214
              </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1215
              <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1216
                <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1217
              </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1218
            </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1219
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1220
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1221
            <xsl:for-each select="$events">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1222
              <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1223
                <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1224
                </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1225
                <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1226
                  <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1227
                </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1228
              </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1229
              <br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1230
            </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1231
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1232
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1233
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1234
    </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1235
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1236
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1237
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1238
<xsl:template match="capability|required">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1239
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1240
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1241
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1242
        <xsl:attribute name="href">#jvmtiCapabilities.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1243
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1244
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1245
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1246
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1247
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1248
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1249
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1250
      <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1251
        <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1252
          <xsl:variable name="desiredID" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1253
          <xsl:for-each select="//capabilityfield[@id=$desiredID]">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1254
            <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1255
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1256
        </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1257
        <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1258
          <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1259
        </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1260
      </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1261
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1262
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1263
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1264
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1265
<xsl:template match="function" mode="errors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1266
  <xsl:variable name="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1267
    <xsl:apply-templates select="capabilities/required" mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1268
    <xsl:apply-templates select="errors/error" mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1269
    <xsl:apply-templates select="parameters/param" mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1270
  </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1271
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1272
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1273
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1274
      <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1275
        Errors
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1276
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1277
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1278
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1279
      <xsl:when test="contains($haserrors,'yes')">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1280
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1281
          <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1282
            This function returns either a 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1283
            <a href="#universal-error">universal error</a> 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1284
            or one of the following errors
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1285
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1286
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1287
        <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1288
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1289
            Error
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1290
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1291
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1292
            Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1293
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1294
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1295
        <xsl:apply-templates select="capabilities/required" mode="errors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1296
        <xsl:apply-templates select="errors/error"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1297
        <xsl:apply-templates select="parameters/param" mode="errors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1298
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1299
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1300
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1301
          <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1302
            This function returns a 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1303
            <a href="#universal-error">universal error</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1304
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1305
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1306
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1307
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1308
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1309
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1310
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1311
<xsl:template match="required" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1312
  yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1313
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1314
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1315
<xsl:template match="required" mode="errors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1316
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1317
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1318
      <a href="#JVMTI_ERROR_MUST_POSSESS_CAPABILITY">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1319
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1320
          JVMTI_ERROR_MUST_POSSESS_CAPABILITY
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1321
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1322
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1323
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1324
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1325
      The environment does not possess the capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1326
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1327
        <xsl:attribute name="href">#jvmtiCapabilities.<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1328
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1329
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1330
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1331
      </a>.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1332
      Use <a href="#AddCapabilities"><code>AddCapabilities</code></a>.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1333
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1334
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1335
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1336
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1337
<xsl:template match="param" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1338
  <xsl:apply-templates mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1339
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1340
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1341
<xsl:template match="param" mode="errors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1342
  <xsl:apply-templates select="." mode="errors1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1343
  <xsl:apply-templates select="." mode="errors2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1344
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1345
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1346
<xsl:template match="param" mode="errors1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1347
  <xsl:variable name="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1348
    <xsl:apply-templates mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1349
  </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1350
  <xsl:if test="contains($haserrors,'yes')!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1351
    <xsl:variable name="erroridraw">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1352
      <xsl:apply-templates mode="errorid"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1353
    </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1354
    <xsl:variable name="errorid" select="normalize-space($erroridraw)"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1355
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1356
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1357
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1358
          <xsl:attribute name="href">#<xsl:value-of select="$errorid"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1359
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1360
            <xsl:value-of select="$errorid"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1361
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1362
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1363
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1364
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1365
        <xsl:apply-templates mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1366
          <xsl:with-param name="id" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1367
        </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1368
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1369
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1370
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1371
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1372
 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1373
<xsl:template match="param" mode="errors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1374
  <xsl:variable name="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1375
    <xsl:apply-templates mode="haserrors2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1376
  </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1377
  <xsl:if test="contains($haserrors2,'yes')!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1378
    <xsl:variable name="erroridraw2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1379
      <xsl:apply-templates mode="errorid2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1380
    </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1381
    <xsl:variable name="errorid2" select="normalize-space($erroridraw2)"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1382
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1383
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1384
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1385
          <xsl:attribute name="href">#<xsl:value-of select="$errorid2"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1386
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1387
            <xsl:value-of select="$errorid2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1388
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1389
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1390
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1391
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1392
        <xsl:apply-templates mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1393
          <xsl:with-param name="id" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1394
        </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1395
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1396
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1397
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1398
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1399
 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1400
<xsl:template match="description" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1401
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1402
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1403
<xsl:template match="description" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1404
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1405
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1406
<xsl:template match="description" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1407
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1408
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1409
<xsl:template match="jmethodID|jfieldID|jframeID|jrawMonitorID|jthread|jthreadGroup|jobject|enum|jlocation" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1410
  yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1411
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1412
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1413
<xsl:template match="jclass" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1414
  <xsl:if test="count(@method)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1415
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1416
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1417
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1418
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1419
<xsl:template match="description|jclass|jfieldID|jrawMonitorID|
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1420
                    jthreadGroup|jobject|enum|jlocation|jvalue|jchar|jint|jlong|jfloat|jdouble|jboolean|
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1421
                    char|uchar|size_t|void|varargs|struct|
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1422
                    ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1423
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1424
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1425
<xsl:template match="jmethodID" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1426
  <xsl:if test="count(@native)=1 and contains(@native,'error')">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1427
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1428
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1429
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1430
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1431
<xsl:template match="jthread" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1432
  <xsl:if test="count(@started)=0 or contains(@started,'yes') or @started=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1433
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1434
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1435
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1436
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1437
<xsl:template match="jframeID" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1438
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1439
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1440
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1441
<xsl:template match="description" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1442
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1443
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1444
<xsl:template match="description" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1445
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1446
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1447
<xsl:template match="jmethodID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1448
  <xsl:text>JVMTI_ERROR_INVALID_METHODID</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1449
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1450
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1451
<xsl:template match="jmethodID" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1452
    <xsl:text>JVMTI_ERROR_NATIVE_METHOD</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1453
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1454
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1455
<xsl:template match="jmethodID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1456
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1457
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1458
  <xsl:text> is not a jmethodID.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1459
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1460
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1461
<xsl:template match="jmethodID" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1462
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1463
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1464
  <xsl:text> is a native method.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1465
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1466
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1467
<xsl:template match="jfieldID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1468
  <xsl:text>JVMTI_ERROR_INVALID_FIELDID</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1469
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1470
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1471
<xsl:template match="jfieldID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1472
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1473
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1474
  <xsl:text> is not a jfieldID.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1475
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1476
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1477
<xsl:template match="jframeID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1478
  <xsl:text>JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1479
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1480
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1481
<xsl:template match="jframeID" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1482
  <xsl:text>JVMTI_ERROR_NO_MORE_FRAMES</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1483
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1484
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1485
<xsl:template match="jframeID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1486
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1487
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1488
  <xsl:text> is less than zero.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1489
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1490
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1491
<xsl:template match="jframeID" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1492
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1493
  <xsl:text>There are no stack frames at the specified </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1494
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1495
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1496
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1497
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1498
<xsl:template match="jrawMonitorID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1499
  <xsl:text>JVMTI_ERROR_INVALID_MONITOR</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1500
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1501
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1502
<xsl:template match="jrawMonitorID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1503
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1504
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1505
  <xsl:text> is not a jrawMonitorID.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1506
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1507
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1508
<xsl:template match="jclass" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1509
  <xsl:text>JVMTI_ERROR_INVALID_CLASS</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1510
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1511
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1512
<xsl:template match="jclass" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1513
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1514
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1515
  <xsl:text> is not a class object or the class has been unloaded.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1516
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1517
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1518
<xsl:template match="jthread" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1519
  <xsl:text>JVMTI_ERROR_INVALID_THREAD</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1520
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1521
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1522
<xsl:template match="jthread" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1523
  <xsl:text>JVMTI_ERROR_THREAD_NOT_ALIVE</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1524
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1525
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1526
<xsl:template match="jthread" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1527
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1528
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1529
  <xsl:text> is not a thread object.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1530
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1531
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1532
<xsl:template match="jthread" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1533
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1534
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1535
  <xsl:text> is not live (has not been started or is now dead).</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1536
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1537
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1538
<xsl:template match="jthreadGroup" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1539
  <xsl:text>JVMTI_ERROR_INVALID_THREAD_GROUP</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1540
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1541
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1542
<xsl:template match="jthreadGroup" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1543
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1544
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1545
  <xsl:text> is not a thread group object.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1546
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1547
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1548
<xsl:template match="jobject" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1549
  <xsl:text>JVMTI_ERROR_INVALID_OBJECT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1550
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1551
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1552
<xsl:template match="jobject" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1553
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1554
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1555
  <xsl:text> is not an object.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1556
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1557
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1558
<xsl:template match="enum" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1559
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1560
    <xsl:when test=".='jvmtiEvent'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1561
      <xsl:text>JVMTI_ERROR_INVALID_EVENT_TYPE</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1562
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1563
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1564
      <xsl:text>JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1565
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1566
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1567
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1568
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1569
<xsl:template match="enum" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1570
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1571
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1572
  <xsl:text> is not a </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1573
  <xsl:value-of select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1574
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1575
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1576
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1577
<xsl:template match="jlocation" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1578
  <xsl:text>JVMTI_ERROR_INVALID_LOCATION</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1579
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1580
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1581
<xsl:template match="jlocation" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1582
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1583
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1584
  <xsl:text> is not a valid location.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1585
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1586
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1587
<xsl:template match="jint" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1588
  <xsl:if test="count(@min)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1589
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1590
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1591
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1592
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1593
<xsl:template match="jint" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1594
  <xsl:text>JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1595
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1596
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1597
<xsl:template match="jint" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1598
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1599
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1600
  <xsl:text> is less than </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1601
  <code><xsl:value-of select="@min"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1602
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1603
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1604
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1605
<xsl:template match="jvalue|jchar|jlong|jfloat|jdouble|jboolean|char|uchar|size_t|void|varargs|struct" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1606
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1607
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1608
<xsl:template match="jvalue|jchar|jlong|jfloat|jdouble|jboolean|char|uchar|size_t|void|varargs|struct" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1609
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1610
  <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1611
    attempt to get error description for <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1612
  </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1613
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1614
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1615
<xsl:template match="ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1616
  <xsl:if test="count(nullok)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1617
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1618
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1619
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1620
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1621
<xsl:template match="ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1622
  <xsl:text>JVMTI_ERROR_NULL_POINTER</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1623
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1624
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1625
<xsl:template match="ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1626
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1627
  <xsl:if test="count(nullok)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1628
    <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1629
      attempt to get error description in null ok case for <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1630
    </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1631
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1632
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1633
  <xsl:text> is </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1634
  <code>NULL</code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1635
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1636
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1637
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1638
<xsl:template match="jmethodID|jfieldID|jframeID|jrawMonitorID|jint|jclass|jthread|jthreadGroup|jobject|enum|jlocation|ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="paramlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1639
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1640
    <xsl:attribute name="href">#<xsl:value-of select="ancestor::function/@id|ancestor::event/@id"/>.<xsl:value-of select="ancestor::param/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1641
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1642
    <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1643
      <xsl:value-of select="ancestor::param/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1644
    </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1645
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1646
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1647
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1648
<xsl:template match="error" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1649
  yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1650
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1651
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1652
<xsl:template match="error">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1653
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1654
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1655
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1656
        <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1657
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1658
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1659
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1660
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1661
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1662
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1663
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1664
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1665
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1666
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1667
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1668
<xsl:template match="errorsection">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1669
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1670
  <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1671
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1672
    Errors
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1673
  </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1674
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1675
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1676
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1677
  <xsl:apply-templates select="errorcategory"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1678
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1679
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1680
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1681
<xsl:template match="datasection">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1682
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1683
  <hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1684
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1685
    Data Types
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1686
  </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1687
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1688
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1689
  <xsl:apply-templates select="basetypes"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1690
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1691
  <a name="StructureTypeDefinitions"></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1692
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1693
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1694
      <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1695
        Structure Type Definitions
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1696
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1697
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1698
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1699
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1700
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1701
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1702
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1703
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1704
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1705
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1706
    <xsl:apply-templates select="//typedef|//uniontypedef|//capabilitiestypedef" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1707
      <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1708
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1709
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1710
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1711
  <a name="FunctionTypeDefinitions"></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1712
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1713
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1714
      <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1715
        Function Type Definitions
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1716
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1717
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1718
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1719
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1720
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1721
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1722
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1723
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1724
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1725
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1726
    <xsl:apply-templates select="//callback" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1727
      <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1728
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1729
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1730
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1731
  <a name="EnumerationDefinitions"></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1732
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1733
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1734
      <td colspan="2" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1735
        Enumeration Definitions
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1736
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1737
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1738
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1739
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1740
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1741
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1742
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1743
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1744
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1745
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1746
    <xsl:apply-templates select="//constants[@kind='enum']" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1747
      <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1748
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1749
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1750
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1751
  <a name="FunctionTable"></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1752
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1753
    <tr bgcolor="#CCCCFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1754
      <td colspan="3" align="center" class="tableHeader">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1755
        Function Table Layout
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1756
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1757
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1758
    <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1759
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1760
        Position
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1761
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1762
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1763
        Function
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1764
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1765
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1766
        Declaration
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1767
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1768
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1769
    <xsl:call-template name="funcStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1770
      <xsl:with-param name="funcs" select="//functionsection/category/function[count(@hide)=0]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1771
      <xsl:with-param name="index" select="1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1772
    </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1773
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1774
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1775
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1776
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1777
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1778
<xsl:template name="funcStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1779
  <xsl:param name="funcs"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1780
  <xsl:param name="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1781
  <xsl:variable name="thisFunction" select="$funcs[@num=$index]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1782
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1783
    <td align="right">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1784
      <xsl:number value="$index" format="  1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1785
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1786
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1787
      <xsl:when test="count($thisFunction)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1788
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1789
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1790
            <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1791
              <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1792
              <xsl:value-of select="$thisFunction/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1793
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1794
            <xsl:value-of select="$thisFunction/synopsis"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1795
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1796
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1797
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1798
          <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1799
            <xsl:text>jvmtiError (JNICALL *</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1800
            <xsl:value-of select="$thisFunction/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1801
            <xsl:text>) (jvmtiEnv* env</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1802
            <xsl:apply-templates select="$thisFunction/parameters" mode="signature">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1803
              <xsl:with-param name="comma">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1804
                <xsl:text>, &#xA;                       </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1805
              </xsl:with-param>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1806
            </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1807
            <xsl:text>);</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1808
        </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1809
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1810
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1811
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1812
      <xsl:if test="count($thisFunction) != 0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1813
        <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1814
          More than one function has index number <xsl:number value="$index" format="  1"/>.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1815
      </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1816
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1817
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1818
        <i>reserved</i>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1819
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1820
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1821
        <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1822
          <xsl:text>void *reserved</xsl:text>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1823
          <xsl:value-of select="$index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1824
          <xsl:text>;</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1825
        </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1826
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1827
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1828
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1829
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1830
  <xsl:if test="count($funcs[@num &gt; $index]) &gt; 0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1831
    <xsl:call-template name="funcStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1832
      <xsl:with-param name="funcs" select="$funcs"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1833
      <xsl:with-param name="index" select="1+$index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1834
    </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1835
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1836
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1837
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1838
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1839
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1840
<xsl:template match="errorcategory">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1841
  <h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1842
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1843
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1844
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1845
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1846
  </h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1847
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1848
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1849
  <dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1850
    <xsl:apply-templates select="errorid"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1851
  </dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1852
  <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1853
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1854
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1855
<xsl:template match="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1856
  <dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1857
    <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1858
      <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1859
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1860
      </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1861
      <xsl:value-of select="@id"/> (<xsl:value-of select="@num"/>)
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1862
    </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1863
  </dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1864
  <dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1865
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1866
    <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1867
  </dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1868
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1869
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1870
<xsl:template match="changehistory">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1871
    <p/><hr noshade="noshade" size="3"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1872
    <h2>Change History</h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1873
    Last update: <xsl:value-of select="@update"/><br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1874
    Version: <xsl:call-template name="showversion"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1875
    <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1876
    <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1877
    <p/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1878
    <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1879
      <tr bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1880
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1881
          <b>Version</b><br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1882
          <b>Date</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1883
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1884
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1885
          <b>Changes</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1886
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1887
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1888
      <xsl:apply-templates select="change"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1889
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1890
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1891
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1892
<xsl:template match="change">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1893
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1894
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1895
      <xsl:if test="count(@version)">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1896
        <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1897
          <xsl:value-of select="@version"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1898
        </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1899
        <br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1900
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1901
      <xsl:value-of select="@date"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1902
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1903
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1904
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1905
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1906
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1907
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1908
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1909
<xsl:template match="intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1910
  <xsl:if test="@id!=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1911
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1912
      <xsl:when test="@label!=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1913
        <h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1914
          <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1915
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1916
          </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1917
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1918
        </h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1919
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1920
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1921
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1922
          <xsl:attribute name="name">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1923
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1924
          </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1925
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1926
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1927
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1928
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1929
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1930
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1931
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1932
<xsl:template match="issue">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1933
  <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1934
    <p style="color: red">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1935
    To be resolved:
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1936
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1937
    </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1938
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1939
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1940
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1941
<xsl:template match="rationale">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1942
  <p style="color: purple">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1943
  Rationale:
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1944
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1945
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1946
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1947
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1948
<xsl:template match="todo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1949
  <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1950
    <p style="color: green">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1951
    To do:
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1952
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1953
    </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1954
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1955
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1956
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1957
<xsl:template match="elide">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1958
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1959
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1960
<xsl:template match="b">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1961
  <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1962
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1963
  </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1964
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1965
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1966
<xsl:template match="example">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1967
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1968
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1969
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1970
    </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1971
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1972
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1973
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1974
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1975
<xsl:template match="table">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1976
  <table border="1" cellpadding="3" cellspacing="0" width="100%">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1977
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1978
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1979
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1980
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1981
<xsl:template match="tr">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1982
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1983
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1984
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1985
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1986
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1987
<xsl:template match="td">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1988
  <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1989
    <xsl:attribute name="align">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1990
      <xsl:value-of select="@align"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1991
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1992
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1993
  </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1994
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1995
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1996
<xsl:template match="th">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1997
  <th bgcolor="#EEEEFF">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1998
    <xsl:attribute name="align">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1999
      <xsl:value-of select="@align"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2000
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2001
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2002
  </th>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2003
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2004
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2005
<xsl:template match="dl">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2006
  <dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2007
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2008
  </dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2009
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2010
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2011
<xsl:template match="dt">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2012
  <dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2013
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2014
  </dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2015
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2016
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2017
<xsl:template match="dd">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2018
  <dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2019
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2020
  </dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2021
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2022
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2023
<xsl:template match="p">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2024
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2025
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2026
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2027
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2028
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2029
<xsl:template match="br">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2030
  <br>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2031
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2032
  </br>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2033
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2034
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2035
<xsl:template match="ul">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2036
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2037
    <xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2038
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2039
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2040
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2041
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2042
<xsl:template match="li">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2043
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2044
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2045
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2046
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2047
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2048
<xsl:template match="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2049
  <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2050
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2051
  </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2052
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2053
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2054
<xsl:template match="tm">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2055
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2056
  <sup style="font-size: xx-small">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2057
    <xsl:text>TM</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2058
  </sup>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2059
  <xsl:text>&#032;</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2060
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2061
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2062
<xsl:template match="b">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2063
  <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2064
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2065
  </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2066
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2067
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2068
<xsl:template match="i">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2069
  <i>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2070
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2071
  </i>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2072
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2073
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2074
<xsl:template match="space">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2075
  <xsl:text>&#032;</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2076
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2077
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2078
<xsl:template match="jvmti">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2079
  <xsl:text>JVM</xsl:text><small style="font-size: xx-small">&#160;</small><xsl:text>TI</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2080
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2081
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2082
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2083
</xsl:stylesheet>