/Docs/minko-docs/all-index.xslt
Extensible Stylesheet Language Transformations | 1396 lines | 1389 code | 7 blank | 0 comment | 0 complexity | ac5bf1f7ba6f22b9845984821e299f2a MD5 | raw file
Large files files are truncated, but you can click here to view the full file
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 ADOBE SYSTEMS INCORPORATED
5 Copyright 2008 Adobe Systems Incorporated
6 All Rights Reserved.
7
8 NOTICE: Adobe permits you to use, modify, and distribute this file
9 in accordance with the terms of the license agreement accompanying it.
10
11-->
12<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://sf.net/saxon" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ifn="urn:internal:functions"
13 exclude-result-prefixes="saxon xs ifn">
14 <xsl:import href="asdoc-util.xslt"/>
15 <xsl:output encoding="UTF-8" method="html" omit-xml-declaration="yes" use-character-maps="disable"/>
16 <xsl:param name="basedir" select="''"/>
17 <xsl:param name="directivesFile" select="'directives.xml'"/>
18 <xsl:param name="globalFuncFile" select="'global_functions.xml'"/>
19 <xsl:param name="globalPropsFile" select="'global_props.xml'"/>
20 <xsl:param name="constantsFile" select="'constants.xml'"/>
21 <xsl:param name="operatorsFile" select="'operators.xml'"/>
22 <xsl:param name="statementsFile" select="'statements.xml'"/>
23 <xsl:param name="specialTypesFile" select="'specialTypes.xml'"/>
24 <xsl:param name="unsupportedFile" select="'unsupported.xml'"/>
25 <xsl:param name="fscommandFile" select="'fscommand.xml'"/>
26 <xsl:param name="splitIndex" select="$config/options[@splitIndex='true']"/>
27 <xsl:param name="outputPath" select="''"/>
28 <xsl:param name="ditaFileDir" select="''"/>
29 <xsl:param name="ditaFile" select="'packages.dita'"/>
30 <xsl:param name="packages_map_name" select="'packagemap.xml'"/>
31 <xsl:param name="symbolsName" select="'Symbols'"/>
32 <xsl:param name="packageOverviewFile" select="'overviews.xml'"/>
33 <xsl:param name="prog_language_name" select="'ActionScript'"/>
34 <xsl:variable name="directives">
35 <xsl:if test="$config/languageElements[@show='true' and @directives='true']">
36 <xsl:copy-of select="document(concat($basedir,$directivesFile))/asdoc"/>
37 </xsl:if>
38 </xsl:variable>
39 <xsl:variable name="globalFuncs">
40 <xsl:if test="$config/languageElements[@show='true' and @functions='true'] and $config/options[@docversion!='3']">
41 <xsl:copy-of select="document(concat($basedir,$globalFuncFile))/asdoc"/>
42 </xsl:if>
43 </xsl:variable>
44 <xsl:variable name="globalProps">
45 <xsl:if test="$config/languageElements[@show='true' and @properties='true']">
46 <xsl:copy-of select="document(concat($basedir,$globalPropsFile))/asdoc"/>
47 </xsl:if>
48 </xsl:variable>
49 <xsl:variable name="constants">
50 <xsl:if test="$config/languageElements[@show='true' and @constants='true'] and $config/options[@docversion!='3']">
51 <xsl:copy-of select="document(concat($basedir,$constantsFile))/asdoc"/>
52 </xsl:if>
53 </xsl:variable>
54 <xsl:variable name="operators">
55 <xsl:if test="$config/languageElements[@show='true' and @operators='true']">
56 <xsl:copy-of select="document(concat($basedir,$operatorsFile))/asdoc"/>
57 </xsl:if>
58 </xsl:variable>
59 <xsl:variable name="statements">
60 <xsl:if test="$config/languageElements[@show='true' and @statements='true']">
61 <xsl:copy-of select="document(concat($basedir,$statementsFile))/asdoc"/>
62 </xsl:if>
63 </xsl:variable>
64 <xsl:variable name="specialTypes">
65 <xsl:if test="$config/languageElements[@show='true' and @specialTypes='true']">
66 <xsl:copy-of select="document(concat($basedir,$specialTypesFile))/asdoc"/>
67 </xsl:if>
68 </xsl:variable>
69 <xsl:variable name="unsupported">
70 <xsl:if test="$config/index[@showUnsupported='true']">
71 <xsl:copy-of select="document(concat($basedir,$unsupportedFile))/asdoc"/>
72 </xsl:if>
73 </xsl:variable>
74 <xsl:variable name="fscommand">
75 <xsl:if test="$config/index[@showFscommand='true']">
76 <xsl:copy-of select="document(concat($basedir,$fscommandFile))/asdoc"/>
77 </xsl:if>
78 </xsl:variable>
79 <xsl:variable name="matches"
80 select="//*[((self::apiOperation or self::apiValue or self::apiConstructor or self::style or self::SkinPart or self::SkinState or self::effect) and not(ancestor::asAncestor)) or self::apiPackage or self::apiClassifier or (self::adobeApiEvent[not(adobeApiEventDetail/adobeApiEventDef/apiDefinedEvent)] and (not(parent::apiOperation) and not(parent::apiConstructor) and not(parent::eventsDefined) and not(ancestor::asAncestor)))] | $directives/asdoc/object/methods/method | $globalFuncs/asdoc/object/methods/method | $globalProps/asdoc/object/fields/field | $constants/asdoc/object/fields/field | $operators/asdoc/operators/operator | $statements/asdoc/statements/statement | $specialTypes/asdoc/specialTypes/specialType | $unsupported/asdoc/unsupported//*[@name] | $fscommand/asdoc/fscommand | $config/index/entry"/>
81 <xsl:variable name="symbols">
82 <xsl:text disable-output-escaping="yes">+,:!?/.^~*=%|&<>()[]{}"</xsl:text>
83 </xsl:variable>
84 <xsl:variable name="letters">
85 <xsl:if test="$config/languageElements[@show='true' and (@operators='true' or @specialTypes='true')]">
86 <xsl:value-of select="$symbolsName"/>
87 <xsl:text> </xsl:text>
88 </xsl:if>
89 <xsl:text>A B C D E F G H I J K L M N O P Q R S T U V W X Y Z</xsl:text>
90 </xsl:variable>
91 <xsl:variable name="letterSet" select="tokenize($letters,' ')"/>
92 <xsl:template match="/">
93 <xsl:if test="$splitIndex='false'">
94 <xsl:apply-templates select="allClasses"/>
95 </xsl:if>
96 <xsl:if test="$splitIndex!='false'">
97 <xsl:variable name="context" select="/"/>
98 <xsl:for-each select="$letterSet">
99 <xsl:variable name="fileName" select="concat('all-index-',.)"/>
100 <xsl:result-document href="{concat($outputPath,$fileName,'.html')}">
101 <xsl:apply-templates select="$context/allClasses">
102 <xsl:with-param name="displayLetters" select="tokenize(.,' ')"/>
103 <xsl:with-param name="fileName" select="$fileName"/>
104 <xsl:with-param name="letter" select="."/>
105 </xsl:apply-templates>
106 </xsl:result-document>
107 </xsl:for-each>
108 </xsl:if>
109 </xsl:template>
110 <xsl:template match="allClasses">
111 <xsl:param name="displayLetters" select="$letterSet"/>
112 <xsl:param name="fileName" select="'all-index'"/>
113 <xsl:param name="letter"/>
114 <xsl:variable name="localizedLetter">
115 <xsl:choose>
116 <xsl:when test="$letter = 'Symbols'">
117 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Symbols']]/entry[2]/p"/>
118 </xsl:when>
119 <xsl:otherwise>
120 <xsl:value-of select="$letter"/>
121 </xsl:otherwise>
122 </xsl:choose>
123 </xsl:variable>
124 <xsl:variable name="localizedIndex">
125 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
126 </xsl:variable>
127 <xsl:copy-of select="$noLiveDocs"/>
128 <xsl:copy-of select="$docType"/>
129 <xsl:if test="$config/options[@livedocs='true']">
130 <xsl:comment>#config errmsg=""</xsl:comment>
131 </xsl:if>
132 <xsl:element name="html">
133 <head>
134 <title>
135 <xsl:if test="$splitIndex and $letter">
136 <xsl:value-of select="$localizedLetter"/>
137 </xsl:if>
138 <xsl:if test="not($splitIndex)">
139 <xsl:value-of select="$config/title"/>
140 </xsl:if>
141 <xsl:text> </xsl:text>
142 <xsl:value-of select="localizedIndex"/>
143 <xsl:call-template name="getPageTitlePostFix"/>
144 </title>
145 <xsl:call-template name="getStyleLink">
146 <xsl:with-param name="link" select="asdoc/link"/>
147 </xsl:call-template>
148 </head>
149 <xsl:element name="body">
150 <xsl:if test="$isEclipse">
151 <xsl:attribute name="class">
152 <xsl:text>eclipseBody</xsl:text>
153 </xsl:attribute>
154 </xsl:if>
155 <xsl:call-template name="getTitleScript">
156 <xsl:with-param name="title">
157 <xsl:if test="$splitIndex">
158 <xsl:value-of select="concat($letter,' ',$localizedIndex,' - ',$title-base)"/>
159 </xsl:if>
160 <xsl:if test="not($splitIndex)">
161 <xsl:value-of select="concat('All Index - ',$title-base)"/>
162 </xsl:if>
163 </xsl:with-param>
164 </xsl:call-template>
165 <xsl:call-template name="getLinks2">
166 <xsl:with-param name="subTitle">
167 <xsl:if test="$splitIndex">
168 <xsl:if test="$letter!='Symbols'">
169 <xsl:value-of select="concat($localizedLetter,$nbsp,$localizedIndex)"/>
170 </xsl:if>
171 <xsl:if test="$letter='Symbols'">
172 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SymbolsIndex']]/entry[2]/p"/>
173 </xsl:if>
174 </xsl:if>
175 <xsl:if test="not($splitIndex)">
176 <xsl:value-of select="concat('All',$nbsp,'Index')"/>
177 </xsl:if>
178 </xsl:with-param>
179 <xsl:with-param name="fileName" select="$fileName"/>
180 <xsl:with-param name="fileName2" select="'index-list.html'"/>
181 <xsl:with-param name="showProperties" select="false()"/>
182 <xsl:with-param name="showMethods" select="false()"/>
183 <xsl:with-param name="showIndex" select="false()"/>
184 </xsl:call-template>
185 <div class="MainContent">
186 <br/>
187 <table border="0" cellspacing="0" cellpadding="0">
188 <xsl:for-each select="$displayLetters">
189 <tr>
190 <td colspan="2">
191 <a name="{.}"/>
192 <xsl:variable name="currLetter" select="."/>
193 <xsl:for-each select="$letterSet">
194 <xsl:if test="$currLetter=.">
195 <xsl:if test="$currLetter=$symbolsName">
196 <font color="black" size="6px" style="bold">
197 <xsl:call-template name="getLocalizedString">
198 <xsl:with-param name="key" select="."/>
199 </xsl:call-template>
200 </font>
201 </xsl:if>
202 <xsl:if test="$currLetter!=$symbolsName">
203 <font color="black" size="10px" style="bold">
204 <xsl:call-template name="getLocalizedString">
205 <xsl:with-param name="key" select="."/>
206 </xsl:call-template>
207 </font>
208 </xsl:if>
209 </xsl:if>
210 <xsl:if test="$currLetter!=.">
211 <xsl:if test="$splitIndex='false'">
212 <xsl:choose>
213 <xsl:when test="$prog_language_name='javascript'"/>
214 <xsl:otherwise>
215 <a href="#{.}" onclick="javascript:loadClassListFrame('index-list.html');">
216 <xsl:call-template name="getLocalizedString">
217 <xsl:with-param name="key" select="."/>
218 </xsl:call-template>
219 </a>
220 </xsl:otherwise>
221 </xsl:choose>
222 </xsl:if>
223 <xsl:if test="$splitIndex!='false'">
224 <xsl:choose>
225 <xsl:when test="$prog_language_name='javascript'"/>
226 <xsl:otherwise>
227 <a href="all-index-{.}.html" onclick="javascript:loadClassListFrame('index-list.html');">
228 <xsl:call-template name="getLocalizedString">
229 <xsl:with-param name="key" select="."/>
230 </xsl:call-template>
231 </a>
232 </xsl:otherwise>
233 </xsl:choose>
234 </xsl:if>
235 </xsl:if>
236 <xsl:text disable-output-escaping="yes"><![CDATA[ ]]></xsl:text>
237 </xsl:for-each>
238 </td>
239 </tr>
240 <xsl:variable name="firstUpper" select="."/>
241 <xsl:variable name="checkingSymbol" select=".=$symbolsName and $config/languageElements[@show='true' and (@operators='true' or @specialTypes='true')]"/>
242 <xsl:variable name="firstLower" select="translate($firstUpper,$upperCase,$lowerCase)"/>
243 <xsl:for-each select="$matches">
244 <xsl:sort select="concat(translate(self::apiPackage[apiName='__Global__']/apiName,'Global__','Top Le'),translate(@symbol,$symbols,''),translate(./apiName | @name,'#_.( ',''))"
245 data-type="text" lang="en-US"/>
246 <xsl:sort select="../../apiName | @name"/>
247 <xsl:sort select="../apiName | @name"/>
248 <xsl:variable name="isSymbol" select="string-length(./@symbol) > 0 and not(contains($letters,translate(substring(./@symbol,1,1),$lowerCase,$upperCase)))"/>
249 <xsl:variable name="isSpecialSymbol" select="self::specialType and not(contains($letters,translate(substring(@name,1,1),$lowerCase,$upperCase)))"/>
250 <xsl:variable name="isRestParam" select="starts-with(@name,'...')"/>
251 <xsl:variable name="sortableName">
252 <xsl:choose>
253 <!-- special case for -Infinity -->
254 <xsl:when test="./apiName='-Infinity'">
255 <xsl:value-of select="substring(./apiName,2)"/>
256 </xsl:when>
257 <xsl:when test="./apiName='__Global__'">
258 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'TopLevel']]/entry[2]/p"/>
259 </xsl:when>
260 <xsl:otherwise>
261 <xsl:if test="$isSymbol">
262 <xsl:value-of select="@symbol"/>
263 </xsl:if>
264 <xsl:if test="not($isSymbol)">
265 <xsl:if test="string-length(@symbol) > 0">
266 <xsl:value-of select="@symbol"/>
267 </xsl:if>
268 <xsl:if test="not(string-length(@symbol) > 0)">
269 <xsl:value-of select="translate(./apiName,'#_.( ','')"/>
270 </xsl:if>
271 <xsl:if test="local-name(.) ='style' or local-name(.) ='SkinPart' or local-name(.) ='SkinState' or local-name(.) ='effect' or local-name(.) ='statement' or local-name(.) ='specialType' or local-name(.) ='operator'">
272 <xsl:value-of select="./@name"/>
273 </xsl:if>
274 </xsl:if>
275 </xsl:otherwise>
276 </xsl:choose>
277 </xsl:variable>
278 <xsl:variable name="symbolMatch" select="$checkingSymbol and ($isSymbol or $isSpecialSymbol or $isRestParam)"/>
279 <xsl:if test="$symbolMatch or starts-with($sortableName,$firstLower) or starts-with($sortableName,$firstUpper)">
280 <tr>
281 <td class="idxrow" colspan="2">
282 <xsl:choose>
283 <!-- unsupported must come first, otherwise they show up in their original sections -->
284 <xsl:when test="ancestor::unsupported">
285 <a href="unsupported.html">
286 <xsl:value-of select="@name"/>
287 <xsl:if test="self::method">
288 <xsl:text>()</xsl:text>
289 </xsl:if>
290 </a>
291 <xsl:value-of select="$emdash"/>
292 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Unsupported']]/entry[2]/p"/>
293 <xsl:text> </xsl:text>
294 <xsl:choose>
295 <xsl:when test="self::globalFunction">
296 <a href="global_functions.html">
297 <xsl:value-of select="../@label"/>
298 </a>
299 </xsl:when>
300 <xsl:when test="self::fscommand">
301 <a href="global_functions.html#fscommand()">
302 <xsl:value-of select="../@label"/>
303 </a>
304 </xsl:when>
305 <xsl:otherwise>
306 <xsl:if test="self::eventHandler and not(string-length(@class))">
307 <xsl:text> global </xsl:text>
308 </xsl:if>
309 <xsl:value-of select="parent::node()/@label"/>
310 </xsl:otherwise>
311 </xsl:choose>
312 <xsl:if test="string-length(@package)">
313 <xsl:text>, </xsl:text>
314 <xsl:if test="string-length(@class)">
315 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'ClassIn']]/entry[2]/p"/>
316 <xsl:text> </xsl:text>
317 <a href="">
318 <xsl:value-of select="@package"/>
319 </a>
320 </xsl:if>
321 <xsl:if test="not(string-length(@class))">
322 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Package']]/entry[2]/p"/>
323 <xsl:text> </xsl:text>
324 <a href="{concat(translate(@package,'.','/'),'/package-detail.html')}">
325 <xsl:value-of select="@package"/>
326 </a>
327 </xsl:if>
328 </xsl:if>
329 <xsl:if test="not(string-length(@package))">
330 <xsl:choose>
331 <xsl:when test="self::class">
332 <xsl:text>, </xsl:text>
333 <a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html');">
334 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'TopLevel']]/entry[2]/p"/>
335 </a>
336 </xsl:when>
337 <xsl:otherwise>
338 <xsl:if test="string-length(@class)">
339 <xsl:text>, </xsl:text>
340 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'ClassIn']]/entry[2]/p"/>
341 <xsl:text> </xsl:text>
342 <a href="{@class}.html" onclick="javascript:loadClassListFrame('class-list.html');">
343 <xsl:value-of select="@class"/>
344 </a>
345 </xsl:if>
346 </xsl:otherwise>
347 </xsl:choose>
348 </xsl:if>
349 </xsl:when>
350 <xsl:when test="self::fscommand">
351 <a href="{concat('fscommand/',@name,'.html')}" onclick="javascript:loadClassListFrame('fscommand-list.html');">
352 <xsl:value-of select="@name"/>
353 </a>
354 <xsl:value-of select="$emdash"/>
355 <xsl:text>Command for </xsl:text>
356 <a href="global_functions.html#fscommand2()">
357 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'fscommand2']]/entry[2]/p"/>
358 </a>
359 <xsl:text> </xsl:text>
360 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'GlobalFunction']]/entry[2]/p"/>
361 </xsl:when>
362 <xsl:when test="(self::apiOperation and (not(@type) or (@type!='handler'))) or self::apiConstructor">
363 <xsl:variable name="packageName" select="ancestor-or-self::apiPackage/apiName"/>
364 <xsl:variable name="isTopLevel">
365 <xsl:call-template name="isTopLevel">
366 <xsl:with-param name="packageName" select="$packageName"/>
367 </xsl:call-template>
368 </xsl:variable>
369 <xsl:variable name="classPath">
370 <!-- AS2 lang elements -->
371 <xsl:if test="$isTopLevel='true' or ../../@type='list'">
372 <xsl:text>.</xsl:text>
373 </xsl:if>
374 <xsl:if test="$isTopLevel='false'">
375 <xsl:value-of select="translate($packageName,'.','/')"/>
376 </xsl:if>
377 </xsl:variable>
378 <xsl:choose>
379 <!-- AS2 lang elements -->
380 <xsl:when test="../../@type='list'">
381 <a href="{../../@href}#{@name}()">
382 <xsl:value-of select="@name"/>
383 </a>
384 </xsl:when>
385 <xsl:when test="ancestor::apiClassifier">
386 <a href="{$classPath}/{../apiName}.html#{apiName}()" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
387 <xsl:value-of select="apiName"/>
388 </a>
389 </xsl:when>
390 <xsl:otherwise>
391 <a href="{$classPath}/package.html#{apiName}()" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
392 <xsl:value-of select="apiName"/>
393 </a>
394 </xsl:otherwise>
395 </xsl:choose>
396 <xsl:if test="not(@type) or @type!='directive'">
397 <xsl:variable name="params">
398 <xsl:call-template name="getParamList">
399 <xsl:with-param name="params" select=".//apiParam"/>
400 </xsl:call-template>
401 </xsl:variable>
402 <xsl:text>(</xsl:text>
403 <xsl:copy-of select="$params"/>
404 <xsl:text>)</xsl:text>
405 </xsl:if>
406 <xsl:value-of select="$emdash"/>
407 <xsl:if test="self::apiOperation">
408 <xsl:call-template name="getMethodDesc">
409 <xsl:with-param name="classPath" select="$classPath"/>
410 </xsl:call-template>
411 </xsl:if>
412 <xsl:if test="self::apiConstructor">
413 <xsl:call-template name="getConstructorDesc">
414 <xsl:with-param name="classPath" select="$classPath"/>
415 </xsl:call-template>
416 </xsl:if>
417 </xsl:when>
418 <xsl:when test="self::apiValue">
419 <xsl:variable name="isTopLevel">
420 <xsl:call-template name="isTopLevel">
421 <xsl:with-param name="packageName" select="ancestor-or-self::apiPackage/apiName"/>
422 </xsl:call-template>
423 </xsl:variable>
424 <xsl:variable name="classPath">
425 <!-- AS2 lang elements -->
426 <xsl:if test="$isTopLevel='true' or ../../@type='list'">
427 <xsl:text>.</xsl:text>
428 </xsl:if>
429 <xsl:if test="$isTopLevel='false'">
430 <xsl:if test="ancestor::apiClassifier">
431 <xsl:value-of select="translate(ancestor-or-self::apiPackage/apiName,'.','/')"/>
432 </xsl:if>
433 <xsl:if test="not(ancestor::apiClassifier)">
434 <xsl:value-of select="translate(ancestor-or-self::apiPackage/apiName,'.','/')"/>
435 </xsl:if>
436 </xsl:if>
437 </xsl:variable>
438 <xsl:choose>
439 <!-- AS2 lang elements -->
440 <xsl:when test="../../@type='list'">
441 <a href="{../../@href}#{apiName}">
442 <xsl:value-of select="apiName"/>
443 </a>
444 </xsl:when>
445 <xsl:when test="ancestor::apiClassifier">
446 <a href="{$classPath}/{ancestor::apiClassifier/apiName}.html#{apiName}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
447 <xsl:value-of select="apiName"/>
448 </a>
449 </xsl:when>
450 <xsl:otherwise>
451 <a href="{$classPath}/package.html#{apiName}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
452 <xsl:value-of select="apiName"/>
453 </a>
454 </xsl:otherwise>
455 </xsl:choose>
456 <xsl:value-of select="$emdash"/>
457 <xsl:call-template name="getPropertyDesc">
458 <xsl:with-param name="classPath" select="$classPath"/>
459 </xsl:call-template>
460 </xsl:when>
461 <xsl:when test="self::style or self::SkinPart or self::SkinState or self::effect">
462 <xsl:variable name="isTopLevel">
463 <xsl:call-template name="isTopLevel">
464 <xsl:with-param name="packageName" select="ancestor::apiPackage/apiName"/>
465 </xsl:call-template>
466 </xsl:variable>
467 <xsl:variable name="classPath">
468 <!-- AS2 lang elements -->
469 <xsl:if test="$isTopLevel='true' or ../../@type='list'">
470 <xsl:text>.</xsl:text>
471 </xsl:if>
472 <xsl:if test="$isTopLevel='false'">
473 <xsl:value-of select="translate(ancestor-or-self::apiPackage/apiName,'.','/')"/>
474 </xsl:if>
475 </xsl:variable>
476 <xsl:if test="self::style">
477 <a href="{$classPath}/{ancestor::apiClassifier/apiName}.html#style:{@name}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
478 <xsl:value-of select="@name"/>
479 </a>
480 <xsl:value-of select="$emdash"/>
481 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Style']]/entry[2]/p"/>
482 <xsl:text>, </xsl:text>
483 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'ClassIn']]/entry[2]/p"/>
484 <xsl:text> </xsl:text>
485 <xsl:call-template name="getClassRef">
486 <xsl:with-param name="classPath" select="$classPath"/>
487 </xsl:call-template>
488 <tr>
489 <td width="20"/>
490 <td>
491 <xsl:variable name="styleText">
492 <xsl:if test="./description/@conref">
493 <xsl:call-template name="getConRefText">
494 <xsl:with-param name="conref" select="./description/@conref"/>
495 <xsl:with-param name="descriptionType" select="local-name(./description)"/>
496 <xsl:with-param name="entryType" select="'style'"/>
497 </xsl:call-template>
498 </xsl:if>
499 <xsl:if test="not(./description/@conref)">
500 <xsl:value-of select="normalize-space(./description)"/>
501 </xsl:if>
502 </xsl:variable>
503 <xsl:if test="string-length($styleText) > 0">
504 <xsl:variable name="styleTextShortDesc">
505 <xsl:call-template name="getFirstSentence">
506 <xsl:with-param name="inText" select="$styleText"/>
507 </xsl:call-template>
508 </xsl:variable>
509 <xsl:value-of disable-output-escaping="yes" select="$styleTextShortDesc"/>
510 </xsl:if>
511 </td>
512 </tr>
513 </xsl:if>
514
515
516 <xsl:if test="self::SkinPart">
517 <xsl:variable name="pkg" select="translate($classPath,'/','.')"/>
518 <xsl:variable name="class" select="ancestor::apiClassifier/apiName"/>
519 <a href="{$classPath}/{ancestor::apiClassifier/apiName}.html#skinpart:{@name}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
520 <xsl:value-of select="@name"/>
521 </a>
522 <xsl:value-of select="$emdash"/>
523 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SkinPart']]/entry[2]/p"/>
524 <xsl:text>, </xsl:text>
525 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'ClassIn']]/entry[2]/p"/>
526 <xsl:text> </xsl:text>
527 <xsl:call-template name="getClassRef">
528 <xsl:with-param name="classPath" select="$classPath"/>
529 </xsl:call-template>
530 <tr>
531 <td width="20"/>
532 <td>
533 <xsl:value-of select="normalize-space(./description)"/>
534 </td>
535 </tr>
536 </xsl:if>
537
538 <xsl:if test="self::SkinState">
539 <xsl:variable name="pkg" select="translate($classPath,'/','.')"/>
540 <xsl:variable name="class" select="ancestor::apiClassifier/apiName"/>
541 <a href="{$classPath}/{ancestor::apiClassifier/apiName}.html#skinstate:{@name}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
542 <xsl:value-of select="@name"/>Skin
543 </a>
544 <xsl:value-of select="$emdash"/>
545 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SkinState']]/entry[2]/p"/>
546 <xsl:text>, </xsl:text>
547 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'ClassIn']]/entry[2]/p"/>
548 <xsl:text> </xsl:text>
549 <xsl:call-template name="getClassRef">
550 <xsl:with-param name="classPath" select="$classPath"/>
551 </xsl:call-template>
552 <tr>
553 <td width="20"/>
554 <td>
555 <xsl:value-of select="normalize-space(./description)"/>
556 </td>
557 </tr>
558 </xsl:if>
559
560 <xsl:if test="self::effect">
561 <a href="{$classPath}/{ancestor::apiClassifier/apiName}.html#effect:{@name}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
562 <xsl:value-of select="@name"/>
563 </a>
564 <xsl:value-of select="$emdash"/>
565 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Effect']]/entry[2]/p"/>
566 <xsl:text>, </xsl:text>
567 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'ClassIn']]/entry[2]/p"/>
568 <xsl:text> </xsl:text>
569 <xsl:call-template name="getClassRef">
570 <xsl:with-param name="classPath" select="$classPath"/>
571 </xsl:call-template>
572 </xsl:if>
573 </xsl:when>
574 <xsl:when test="self::apiPackage">
575 <xsl:variable name="isTopLevel">
576 <xsl:call-template name="isTopLevel">
577 <xsl:with-param name="packageName" select="./apiName"/>
578 </xsl:call-template>
579 </xsl:variable>
580 <xsl:variable name="packagePath">
581 <xsl:if test="$isTopLevel='true'">
582 <xsl:text>.</xsl:text>
583 </xsl:if>
584 <xsl:if test="$isTopLevel='false'">
585 <xsl:value-of select="translate(./apiName,'.','/')"/>
586 </xsl:if>
587 </xsl:variable>
588 <a href="{$packagePath}/package-detail.html" onclick="javascript:loadClassListFrame('{$packagePath}/class-list.html');">
589 <xsl:if test="$isTopLevel='true'">
590 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'TopLevel']]/entry[2]/p"/>
591 </xsl:if>
592 <xsl:if test="$isTopLevel='false'">
593 <xsl:value-of select="./apiName"/>
594 </xsl:if>
595 </a>
596 <xsl:value-of select="$emdash"/>
597 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Package']]/entry[2]/p"/>
598 </xsl:when>
599 <xsl:when test="self::apiClassifier">
600 <xsl:variable name="name" select="./apiName"/>
601 <xsl:variable name="packageName">
602 <xsl:if test="../apiName != '__Global__'">
603 <xsl:value-of select="../apiName"/>
604 </xsl:if>
605 </xsl:variable>
606 <xsl:variable name="isTopLevel">
607 <xsl:call-template name="isTopLevel">
608 <xsl:with-param name="packageName" select="$packageName"/>
609 </xsl:call-template>
610 </xsl:variable>
611 <xsl:variable name="classPath">
612 <xsl:if test="$isTopLevel='true'">
613 <xsl:text>.</xsl:text>
614 </xsl:if>
615 <xsl:if test="$isTopLevel='false'">
616 <xsl:value-of select="translate($packageName,'.','/')"/>
617 </xsl:if>
618 </xsl:variable>
619 <a href="{$classPath}/{$name}.html" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
620 <xsl:if test="./apiClassifierDetail/apiClassifierDef[apiInterface]">
621 <i>
622 <xsl:value-of select="$name"/>
623 </i>
624 </xsl:if>
625 <xsl:if test="./apiClassifierDetail/apiClassifierDef[not(apiInterface)]">
626 <xsl:value-of select="$name"/>
627 </xsl:if>
628 </a>
629 <xsl:value-of select="$emdash"/>
630 <xsl:call-template name="getClassDesc">
631 <xsl:with-param name="packageName" select="$packageName"/>
632 </xsl:call-template>
633 </xsl:when>
634 <xsl:when test="self::adobeApiEvent or (self::apiOperation and @type='handler')">
635 <xsl:variable name="isTopLevel">
636 <xsl:call-template name="isTopLevel">
637 <xsl:with-param name="packageName" select="ancestor::apiPackage/apiName"/>
638 </xsl:call-template>
639 </xsl:variable>
640 <xsl:variable name="classPath">
641 <!-- AS2 lang elements -->
642 <xsl:if test="$isTopLevel='true' or ../../@type='list'">
643 <xsl:text>.</xsl:text>
644 </xsl:if>
645 <xsl:if test="$isTopLevel='false'">
646 <xsl:if test="ancestor::apiClassifier">
647 <xsl:value-of select="translate(../../apiName,'.','/')"/>
648 </xsl:if>
649 <xsl:if test="not(ancestor::apiClassifier)">
650 <xsl:value-of select="translate(../apiName,'.','/')"/>
651 </xsl:if>
652 </xsl:if>
653 </xsl:variable>
654 <xsl:choose>
655 <!-- AS2 lang elements -->
656 <xsl:when test="../../@type='list'">
657 <a href="{../../@href}#event:{./apiName}">
658 <xsl:value-of select="./apiName"/>
659 </a>
660 </xsl:when>
661 <xsl:when test="ancestor::apiClassifier">
662 <a href="{$classPath}/{../apiName}.html#event:{./apiName}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
663 <xsl:value-of select="./apiName"/>
664 </a>
665 </xsl:when>
666 <xsl:otherwise>
667 <a href="{$classPath}/package-detail.html#event:{./apiName}" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
668 <xsl:value-of select="./apiName"/>
669 </a>
670 </xsl:otherwise>
671 </xsl:choose>
672 <xsl:if test="@type='handler'">
673 <xsl:variable name="params">
674 <xsl:call-template name="getParamList">
675 <xsl:with-param name="params" select="params"/>
676 </xsl:call-template>
677 </xsl:variable>
678 <xsl:text>(</xsl:text>
679 <xsl:copy-of select="$params"/>
680 <xsl:text>)</xsl:text>
681 </xsl:if>
682 <xsl:value-of select="$emdash"/>
683 <xsl:call-template name="getEventDesc">
684 <xsl:with-param name="classPath" select="$classPath"/>
685 </xsl:call-template>
686 </xsl:when>
687 <xsl:when test="self::operator or self::statement">
688 <xsl:variable name="suffix">
689 <xsl:if test="self::operator and deprecated">
690 <xsl:value-of select="'_deprecated'"/>
691 </xsl:if>
692 <xsl:if test="self::statment or not(deprecated)">
693 <xsl:value-of select="''"/>
694 </xsl:if>
695 </xsl:variable>
696 <xsl:variable name="href">
697 <xsl:if test="$config/options/@docversion='2'">
698 <xsl:value-of select="../@href"/>
699 </xsl:if>
700 <xsl:if test="not($config/options/@docversion='2')">
701 <xsl:value-of select="local-name()"/>
702 <xsl:text>s.html</xsl:text>
703 </xsl:if>
704 </xsl:variable>
705 <a href="{$href}#{concat(translate(@name,' ','_'),$suffix)}">
706 <xsl:if test="string-length(@symbol)">
707 <xsl:value-of select="@symbol"/>
708 <xsl:text> (</xsl:text>
709 </xsl:if>
710 <xsl:value-of select="@name"/>
711 <xsl:if test="string-length(@symbol)">
712 <xsl:text>)</xsl:text>
713 </xsl:if>
714 </a>
715 <xsl:value-of select="$emdash"/>
716 <xsl:if test="self::operator">
717 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Operator']]/entry[2]/p"/>
718 </xsl:if>
719 <xsl:if test="self::statement">
720 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Statement']]/entry[2]/p"/>
721 </xsl:if>
722 </xsl:when>
723 <xsl:when test="self::specialType">
724 <a href="specialTypes.html#{@name}">
725 <xsl:value-of select="@name"/>
726 </a>
727 <xsl:value-of select="$emdash"/>
728 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SpecialType']]/entry[2]/p"/>
729 </xsl:when>
730 <xsl:when test="self::entry">
731 <a href="{@href}" onclick="loadClassListFrame('mxml-tags.html');">
732 <xsl:value-of select="@name"/>
733 </a>
734 <xsl:value-of select="$emdash"/>
735 <a href="mxml-tag-detail.html" onclick="loadClassListFrame('mxml-tags.html');">
736 <xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'MXMLOnly']]/entry[2]/p"/>
737 </a>
738 <xsl:choose>
739 <xsl:when test="(self::statement or self::specialType)">
740 <xsl:variable name="desc">
741 <xsl:value-of disable-output-escaping="yes" select="./shortDescription"/>
742 </xsl:variable>
743 <xsl:call-template name="deTilda">
744 <xsl:with-param name="inText" select="$desc"/>
745 </xsl:call-template>
746 </xsl:when>
747 <xsl:otherwise>
748 <xsl:variable name="desc">
749 <xsl:if test="string-length(./shortdesc) > 0 and not(string-length(./shortdesc/@conref) > 0)">
750 <xsl:value-of disable-output-escaping="yes" select="./shortdesc"/>
751 </xsl:if>
752 <xsl:if test="not(string-length(./shortdesc) > 0) and (string-length(./shortdesc/@conref) > 0)">
753 <xsl:choose>
754 <xsl:when test="ancestor-or-self::apiOperation">
755 <xsl:call-template name="getConRefText">
756 <xsl:with-param name="conref" select="./shortdesc/@conref"/>
757 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
758 <xsl:with-param name="entryType" select="'method'"/>
759 <xsl:with-param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
760 </xsl:call-template>
761 </xsl:when>
762 <xsl:when test="ancestor-or-self::apiValue">
763 <xsl:call-template name="getConRefText">
764 <xsl:with-param name="conref" select="./shortdesc/@conref"/>
765 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
766 <xsl:with-param name="entryType" select="'property'"/>
767 <xsl:with-param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
768 </xsl:call-template>
769 </xsl:when>
770 <xsl:when test="ancestor-or-self::adobeApiEvent">
771 <xsl:call-template name="getConRefText">
772 <xsl:with-param name="conref" select="./shortdesc/@conref"/>
773 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
774 <xsl:with-param name="entryType" select="'event'"/>
775 <xsl:with-param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
776 </xsl:call-template>
777 </xsl:when>
778 </xsl:choose>
779 </xsl:if>
780 </xsl:variable>
781 <xsl:call-template name="deTilda">
782 <xsl:with-param name="inText" select="$desc"/>
783 </xsl:call-template>
784 </xsl:otherwise>
785 </xsl:choose>
786 </xsl:when>
787 </xsl:choose>
788 </td>
789 </tr>
790 <tr>
791 <td width="20"/>
792 <td>
793 <xsl:choose>
794 <xsl:when test="deprecated">
795 <xsl:apply-templates select="deprecated"/>
796 </xsl:when>
797 <xsl:when test="(self::apiValue or self::apiOperation or self::apiConstructor or self::adobeApiEvent) and ../../deprecated">
798 <xsl:copy-of select="$deprecatedLabel"/>
799 <em>
800 <xsl:variable name="deprecated" select="$asdoc_terms/row[entry[1][p/text() = 'DeprecatedAsOf']]/entry[2]/p"/>
801 <xsl:apply-templates select="$deprecated" mode="terms">
802 <xsl:with-param name="class" select="../../@name"/>
803 <xsl:with-param name="as-of" select="../../deprecated/@as-of"/>
804 </xsl:apply-templates>
805 </em>
806 </xsl:when>
807 <xsl:when test="self::entry">
808 <xsl:call-template name="deTilda">
809 <xsl:with-param name="inText" select="node()"/>
810 </xsl:call-template>
811 </xsl:when>
812 <xsl:when test="self::effect">
813 <xsl:call-template name="deTilda">
814 <xsl:with-param name="inText" select="./description"/>
815 </xsl:call-template>
816 </xsl:when>
817 <xsl:when test="self::apiPackage">
818 <xsl:call-template name="getPackageComment">
819 <xsl:with-param name="packageName" select="./apiName"/>
820 </xsl:call-template>
821 </xsl:when>
822 <xsl:otherwise>
823 <!-- AS2 lang elements -->
824 <xsl:choose>
825 <xsl:when test="(self::operator or self::statement or self::specialType)">
826 <xsl:if test="string-length(shortDescription/.) or string-length(short-description)">
827 <xsl:call-template name="deTilda">
828 <xsl:with-param name="inText" select="shortDescription/. | short-description/."/>
829 </xsl:call-template>
830 </xsl:if>
831 </xsl:when>
832 <xsl:otherwise>
833 <xsl:variable name="desc">
834 <xsl:if test="string-length(normalize-space(./shortdesc)) > 0 and not(string-length(normalize-space(./shortdesc/@conref)) > 0)">
835 <xsl:call-template name="deTilda">
836 <xsl:with-param name="inText" select="./shortdesc"/>
837 </xsl:call-template>
838 </xsl:if>
839 <xsl:if test="not(string-length(normalize-space(./shortdesc)) > 0) and (string-length(normalize-space(./shortdesc/@conref)) > 0)">
840 <xsl:choose>
841 <xsl:when test="ancestor-or-self::apiOperation">
842 <xsl:call-template name="getConRefText">
843 <xsl:with-param name="conref" select="./shortdesc/@conref"/>
844 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
845 <xsl:with-param name="entryType" select="'method'"/>
846 <xsl:with-param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
847 </xsl:call-template>
848 </xsl:when>
849 <xsl:when test="ancestor-or-self::apiValue">
850 <xsl:call-template name="getConRefText">
851 <xsl:with-param name="conref" select="./shortdesc/@conref"/>
852 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
853 <xsl:with-param name="entryType" select="'property'"/>
854 <xsl:with-param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
855 </xsl:call-template>
856 </xsl:when>
857 <xsl:when test="ancestor-or-self::adobeApiEvent">
858 <xsl:call-template name="getConRefText">
859 <xsl:with-param name="conref" select="./shortdesc/@conref"/>
860 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
861 <xsl:with-param name="entryType" select="'event'"/>
862 <xsl:with-param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
863 </xsl:call-template>
864 </xsl:when>
865 </xsl:choose>
866 </xsl:if>
867 <xsl:if test="not(string-length(normalize-space(./shortdesc)) > 0) and (string-length(normalize-space(./shortdesc/@conref)) = 0)">
868 <xsl:choose>
869 <xsl:when test="ancestor-or-self::apiOperation">
870 <xsl:if test="ancestor-or-self::apiOperation/apiOperationDetail/apiOperationDef/apiInheritDoc">
871 <xsl:if
872 test="ancestor-or-self::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier or ancestor-or-self::apiClassifier/apiClassifierDetail/apiBaseInterface ">
873 <xsl:call-template name="getInheritDocText">
874 <xsl:with-param name="baseClass" select="ancestor-or-self::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier"/>
875 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
876 <xsl:with-param name="entryType" select="'apiOperation'"/>
877 <xsl:with-param name="nameToMatch" select="ancestor-or-self::apiOperation/apiName"/>
878 </xsl:call-template>
879 </xsl:if>
880 </xsl:if>
881 </xsl:when>
882 <xsl:when test="ancestor-or-self::apiValue">
883 <xsl:if test="ancestor-or-self::apiValue/apiValueDetail/apiValueDef/apiInheritDoc">
884 <xsl:if
885 test="ancestor-or-self::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier or ancestor-or-self::apiClassifier/apiClassifierDetail/apiBaseInterface ">
886 <xsl:call-template name="getInheritDocText">
887 <xsl:with-param name="baseClass" select="ancestor-or-self::apiClassifier/apiClassifierDetail/apiClassifierDef/apiBaseClassifier"/>
888 <xsl:with-param name="descriptionType" select="'shortdesc'"/>
889 <xsl:with-param name="entryType" select="'apiValue'"/>
890 <xsl:with-param name="nameToMatch" select="ancestor-or-self::apiValue/apiName"/>
891 </xsl:call-template>
892 </xsl:if>
893 </xsl:if>
894 </xsl:when>
895 </xsl:choose>
896 </xsl:if>
897 </xsl:variable>
898 <xsl:variable name="text">
899 <xsl:call-template name="search-and-replace">
900 <xsl:with-param name="search-string" select="'~~'"/>
901 <xsl:with-param name="replace-string" select="'*'"/>
902 <xsl:with-param name="input" select="$desc"/>
903 </xsl:call-template>
904 </xsl:variable>
905 <xsl:value-of select="$text"/>
906 </xsl:otherwise>
907 </xsl:choose>
908 </xsl:otherwise>
909 </xsl:choose>
910 </td>
911 </tr>
912 </xsl:if>
913 </xsl:for-each>
914 <tr>
915 <td colspan="2" style="padding-bottom:20px"/>
916 </tr>
917 <xsl:if test="$splitIndex!='false'">
918 <tr>
919 <td colspan="2">
920 <xsl:variable name="currLetter" select="."/>
921 <xsl:for-each select="$letterSet">
922 <xsl:if test="$currLetter=.">
923 <xsl:if test="$currLetter=$symbolsName">
924 <font color="black" size="6px" style="bold">
925 <xsl:call-template name="getLocalizedString">
926 <xsl:with-param name="key" select="."/>
927 </xsl:call-template>
928 </font>
929 </xsl:if>
930 <xsl:if test="$currLetter!=$symbolsName">
931 <font color="black" size="10px" style="bold">
932 <xsl:call-template name="getLocalizedString">
933 <xsl:with-param name="key" select="."/>
934 </xsl:call-template>
935 </font>
936 </xsl:if>
937 </xsl:if>
938 <xsl:if test="$currLetter!=.">
939 <xsl:if test="$splitIndex='false'">
940 <xsl:choose>
941 <xsl:when test="$prog_language_name='javascript'"/>
942 <xsl:otherwise>
943 <a href="#{.}" onclick="javascript:loadClassListFrame('index-list.html');">
944 <xsl:call-template name="getLocalizedString">
945 <xsl:with-param name="key" select="."/>
946 </xsl:call-template>
947 </a>
948 </xsl:otherwise>
949 </xsl:choose>
950 </xsl:if>
951 <xsl:if test="$splitIndex!='false'">
952 <xsl:choose>
953 <xsl:when test="$prog_language_name='javascript'"/>
954 <xsl:otherwise>
955 <a href="all-index-{.}.html" onclick="javascript:loadClassListFrame('index-list.html');">
956 <xsl:call-template name="getLocalizedString">
957 <xsl:with-param name="key" select="."/>
958 </xsl:call-template>
959 </a>
960 </xsl:otherwise>
961 </xsl:choose>
962 </xsl:if>
963 </xsl:if>
964 <xsl:text disable-output-escaping="yes"><![CDATA[ ]]></xsl:text>
965 </xsl:for-each>
966 </td>
967 </tr>
968 </xsl:if>
969 </xsl:for-each>
970 </table>
971 <p/>
972 <xsl:call-template name="getFeedbackLink">
973 <xsl:with-param name="topic">
974 <xsl:if test="$splitIndex">
975 <xsl:value-of select="concat($letter,' Index')"/>
976 </xsl:if>
977 <xsl:if test="not($splitIndex)">
978 <xsl:value-of select="'Index'"/>
979 </xsl:if>
980 </xsl:with-param>
981 <xsl:with-param name="filename" select="$fileName"/>
982 <xsl:with-param name="filename2" select="'index-list.html'"/>
983 </xsl:call-template>
984 <center class="copyright">
985 <xsl:copy-of select="$copyright"/>
986 </center>
987 </div>
988 <xsl:if test="$config/options[@livedocs='true']">
989 <div class="separator"> </div>
990 <xsl:comment>BEGIN IONCOMMENTS</xsl:comment>
991 <div id="ionComHere"> </div>
992 <xsl:comment>END IONCOMMENTS</xsl:comment>
993 <xsl:comment>#include virtual="ionComments.ssi"</xsl:comment>
994 <p id="creativecommons" class="creativecommons">
995 <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
996 <img id="creativecommons_img" src="images/CC.png"/>
997 </a>
998 </p>
999 <xsl:comment>#include virtual="/livedocs/googleAnalytics.ssi"</xsl:comment>
1000 <xsl:comment>#include virtual="/ubi/analytics/analytics_ssi.html"</xsl:comment>
1001 </xsl:if>
1002 </xsl:element>
1003 </xsl:element>
1004 <xsl:copy-of select="$copyrightComment"/>
1005 </xsl:template>
1006 <xsl:template name="getClassRef">
1007 <xsl:param name="classPath"/>
1008 <xsl:choose>
1009 <xsl:when test="string-length($classPath) > 1">
1010 <xsl:choose>
1011 <xsl:when test="$prog_language_name='javascript'"/>
1012 <xsl:otherwise>
1013 <xsl:value-of select="ancestor::apiPackage/apiName"/>
1014 <xsl:text>.</xsl:text>
1015 </xsl:otherwise>
1016 </xsl:choose>
1017 <a href="{$classPath}/{ancestor::apiClassifier/apiName}.html" onclick="javascript:loadClassListFrame('{$classPath}/class-list.html');">
1018 <xsl:value-of select="ancestor::apiClassifier/apiName"/>
1019 </a>
1020 </xsl:when>
1021 <xsl:otherwise>
1022 <a href="{ancestor::apiClassifier/apiName}.html" onclick="javascript:loadClassListFrame('class-list.html');">
1023 <xsl:value-of select="ancestor::apiClassifier/apiName"/>
1024 </a>
1025 </xsl:otherwise>
1026 </xsl:choose>
1027 </xsl:template…
Large files files are truncated, but you can click here to view the full file