incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1309036 [5/11] - in /incubator/flex/trunk/asdoc: ./ templates/ templates/images/
Date Tue, 03 Apr 2012 16:52:09 GMT
Added: incubator/flex/trunk/asdoc/templates/asdoc-util.xslt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/asdoc/templates/asdoc-util.xslt?rev=1309036&view=auto
==============================================================================
--- incubator/flex/trunk/asdoc/templates/asdoc-util.xslt (added)
+++ incubator/flex/trunk/asdoc/templates/asdoc-util.xslt Tue Apr  3 16:52:07 2012
@@ -0,0 +1,4216 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<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"
+	exclude-result-prefixes="saxon xs ifn">
+	<xsl:character-map name="disable">
+		<xsl:output-character character="&amp;" string="&amp;"/>
+		<xsl:output-character character="&lt;" string="&lt;"/>
+		<xsl:output-character character="&gt;" string="&gt;"/>
+		<xsl:output-character character="&#145;" string="&amp;lsquo;"/>
+		<xsl:output-character character="&#146;" string="&amp;apos;"/>
+		<xsl:output-character character="&#151;" string="&amp;mdash;"/>
+		<xsl:output-character character="&#x2014;" string="&amp;mdash;"/>
+		<xsl:output-character character="&#x2009;" string="&amp;thinsp;"/>
+		<xsl:output-character character="&#xAE;" string="&amp;reg;"/>
+		<xsl:output-character character="&#xB0;" string="&amp;deg;"/>
+		<xsl:output-character character="&#x2122;" string="&amp;trade;"/>
+	</xsl:character-map>
+	<xsl:output method="html" encoding="UTF-8" indent="no" omit-xml-declaration="yes" use-character-maps="disable"/>
+	<xsl:key name="match" match="//apiPackage" use="@id"/>
+	<xsl:variable name="newline">
+		<xsl:text/>
+	</xsl:variable>
+	<xsl:variable name="productName" select="$config//product"/>
+	<xsl:variable name="markOfTheWeb" select="'&lt;!-- saved from url=(0014)about:internet -->'"/>
+	<xsl:variable name="docType">
+		<!-- insert byte order mark needed for Flash Panel Help -->
+		<xsl:if test="$config/options[@livedocs!='true']">
+			<xsl:text disable-output-escaping="yes"></xsl:text>
+		</xsl:if>
+		<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;</xsl:text>
+		<xsl:value-of select="$newline"/>
+		<xsl:if test="$config/options[@standalone='true']">
+			<xsl:value-of disable-output-escaping="yes" select="$markOfTheWeb"/>
+			<xsl:value-of select="$newline"/>
+		</xsl:if>
+	</xsl:variable>
+	<xsl:variable name="frameDocType">
+		<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Frameset//EN&quot; &quot;http://www.w3.org/TR/html4/frameset.dtd&quot;&gt;</xsl:text>
+		<xsl:value-of select="$newline"/>
+	</xsl:variable>
+	<xsl:function name="ifn:myFormatDate">
+		<xsl:variable name="lookup" as="node()+">
+			<term value="Jan">January</term>
+			<term value="Feb">February</term>
+			<term value="Mar">March</term>
+			<term value="Apr">April</term>
+			<term value="May">May</term>
+			<term value="Jun">June</term>
+			<term value="Jul">July</term>
+			<term value="Aug">August</term>
+			<term value="Sep">September</term>
+			<term value="Oct">October</term>
+			<term value="Nov">November</term>
+			<term value="Dec">December</term>
+			<term value="Mon">Monday</term>
+			<term value="Tue">Tuesday</term>
+			<term value="Wed">Wednesday</term>
+			<term value="Thu">Thursday</term>
+			<term value="Fri">Friday</term>
+			<term value="Sat">Saturday</term>
+			<term value="Sun">Sunday</term>
+			<term value="AM">A.M.</term>
+			<term value="PM">P.M.</term>
+		</xsl:variable>
+		<xsl:variable name="date" select="format-dateTime(current-dateTime(),  '[F] [MNn] [D] [Y], [h01]:[m01] [PN] [ZN] ' )"/>
+		<xsl:value-of select="for $i in tokenize($date, ' ') return ($lookup[. = $i]/@value, $i)[1]"/>
+	</xsl:function>
+	<xsl:param name="locale" select="'en-us'"/>
+	<xsl:param name="asdocTermsFilename" select="'ASDoc_terms.xml'"/>
+	<xsl:variable name="asdoc_terms" select="document($asdocTermsFilename)//tbody"/>
+	<xsl:param name="configFilename" select="'ASDoc_Config.xml'"/>
+	<xsl:variable name="config" select="document($configFilename)/asDocConfig"/>
+	<xsl:param name="ditaFileDir" select="''"/>
+	<xsl:param name="packageCommentsFilename" select="'packages.xml'"/>
+	<xsl:param name="AS1tooltip" select="'This example can be used with ActionScript 1.0'"/>
+	<xsl:param name="AS2tooltip" select="$asdoc_terms/row[entry[1][p/text() = 'AS2tooltip']]/entry[2]/p"/>
+	<xsl:param name="AS3tooltip" select="$asdoc_terms/row[entry[1][p/text() = 'AS3tooltip']]/entry[2]/p"/>
+	<xsl:param name="showASIcons" select="'false'"/>
+	<xsl:param name="showInheritanceIcon" select="'true'"/>
+	<xsl:param name="inheritanceIcon" select="'inherit-arrow.jpg'"/>
+	<xsl:param name="isEclipse" select="$config/options[@eclipse='true']"/>
+	<xsl:param name="isLiveDocs" select="$config/options[@livedocs='true']"/>
+	<xsl:param name="liveDocsSearchSite" select="$config/livedocs/searchsite/."/>
+	<xsl:param name="liveDocsSearchString" select="$config/livedocs/searchstring/."/>
+	<xsl:param name="liveDocsSearchLocale" select="$config/livedocs/locale/."/>
+	<xsl:param name="liveDocsSearch" select="$asdoc_terms/row[entry[1][p/text() = 'searchLivedocs']]/entry[2]/p"/>
+	<xsl:param name="liveDocsSearchServlet" select="$config/livedocs/searchservlet/."/>
+	<xsl:param name="isStandalone" select="$config/options[@standalone='true']"/>
+	<xsl:param name="isSkin" select="$config/skinLink/."/>	
+	<xsl:param name="prog_language_name" select="'ActionScript'"/>
+	<xsl:variable name="id.match" select="document('flashclasses.xml')//package//class"/>
+	<xsl:variable name="id.match.name" select="document('flashclasses.xml')//package"/>
+	<xsl:variable name="id.match.class" select="document('flashclasses.xml')//category//class"/>
+	<xsl:variable name="class.File.Name" select="document('ClassHeader.xml')//apiClassifier"/>
+	<xsl:param name="process_xref_href_attribute" select="'0'"/>
+	<xsl:param name="showLangVersionWarnings">
+		<xsl:if test="$config/warnings/@langversion='true'">
+			<xsl:value-of select="'true'"/>
+		</xsl:if>
+	</xsl:param>
+	<xsl:param name="showPlayerVersionWarnings">
+		<xsl:if test="$config/warnings/@playerversion='true'">
+			<xsl:value-of select="'true'"/>
+		</xsl:if>
+	</xsl:param>
+	<xsl:param name="noLiveDocs">
+		<xsl:if test="$config/options[@livedocs='true']">
+			<xsl:comment>livedocs:no</xsl:comment>
+			<xsl:value-of select="$newline"/>
+		</xsl:if>
+	</xsl:param>
+	<xsl:param name="showXrefs" select="$config/xrefs[@show='true']"/>
+	<xsl:variable name="xrefs">
+		<xsl:if test="$showXrefs">
+			<xsl:copy-of select="document($config/xrefs/@mapfile)/helpreferences"/>
+		</xsl:if>
+	</xsl:variable>
+	<xsl:param name="title-base" select="$config/windowTitle/."/>
+	<xsl:param name="title-jslr" select="$asdoc_terms/row[entry[1][p/text() = 'JSLR_Book_Title']]/entry[2]/p"/>
+	<xsl:param name="page-title-base" select="$config/title/."/>
+	<xsl:param name="timestamp">
+		<xsl:value-of select="ifn:myFormatDate()"/>
+	</xsl:param>
+	<xsl:param name="copyright">
+		<xsl:copy-of select="$config/footer"/>
+		<xsl:text disable-output-escaping="yes">&lt;br/&gt;</xsl:text>
+		<xsl:if test="$config/dateInFooter='true'">
+			<xsl:value-of select="$timestamp"/>
+		</xsl:if>
+		<xsl:text> </xsl:text>
+	</xsl:param>
+	<xsl:variable name="copyrightComment">
+		<xsl:comment>
+			<xsl:copy-of select="$copyright"/>
+		</xsl:comment>
+	</xsl:variable>
+	<xsl:variable name="upperCase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
+	<xsl:variable name="lowerCase">abcdefghijklmnopqrstuvwxyz</xsl:variable>
+	<xsl:variable name="thinsp">
+		<xsl:text>&#x2009;</xsl:text>
+	</xsl:variable>
+	<xsl:variable name="emdash">
+		<xsl:text> &#x2014; </xsl:text>
+	</xsl:variable>
+	<xsl:variable name="asterisk">
+		<xsl:text>&#x2A;</xsl:text>
+	</xsl:variable>
+	<xsl:variable name="nbsp">
+		<xsl:text>&#xA0;</xsl:text>
+	</xsl:variable>
+	<xsl:variable name="degree">
+		<xsl:text>&#xB0;</xsl:text>
+	</xsl:variable>
+	<xsl:variable name="trademark">
+		<xsl:text>&#x2122;</xsl:text>
+	</xsl:variable>
+	<xsl:variable name="registered">
+		<xsl:text>&#xAE;</xsl:text>
+	</xsl:variable>
+	<xsl:template name="getRelativePath">
+		<xsl:param name="currentPath"/>
+		<xsl:choose>
+			<xsl:when test="not($currentPath) or $currentPath='__Global__'">
+				<xsl:value-of select="''"/>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:if test="contains($currentPath,'.')">
+					<xsl:call-template name="getRelativePath">
+						<xsl:with-param name="currentPath" select="substring-after($currentPath,'.')"/>
+					</xsl:call-template>
+				</xsl:if>
+				<xsl:value-of select="'../'"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template name="getBaseRef">
+		<xsl:param name="packageName"/>
+		<xsl:variable name="isTopLevel">
+			<xsl:call-template name="isTopLevel">
+				<xsl:with-param name="packageName" select="$packageName"/>
+			</xsl:call-template>
+		</xsl:variable>
+		<xsl:if test="$isTopLevel='false'">
+			<xsl:variable name="newName" select="substring-after($packageName,'.')"/>
+			<xsl:if test="$packageName">
+				<xsl:text>../</xsl:text>
+				<xsl:call-template name="getBaseRef">
+					<xsl:with-param name="packageName" select="$newName"/>
+				</xsl:call-template>
+			</xsl:if>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="convertNumberListIntoBoolean">
+		<xsl:param name="numberList"/>
+		<xsl:choose>
+			<xsl:when
+				test="contains($numberList,'1') or contains($numberList,'2') or contains($numberList,'3') or contains($numberList,'4') or contains($numberList,'5') or contains($numberList,'6') or contains($numberList,'7') or contains($numberList,'8') or contains($numberList,'9')">
+				<xsl:value-of select="'true'"/>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="'false'"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template name="getStyleLink">
+		<xsl:param name="link"/>
+		<xsl:param name="packageName"/>
+		<xsl:choose>
+			<!-- TODO support this? -->
+			<xsl:when test="false()">
+				<xsl:for-each select="$link">
+					<xsl:copy-of select="."/>
+				</xsl:for-each>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:variable name="baseRef">
+					<xsl:call-template name="getBaseRef">
+						<xsl:with-param name="packageName" select="$packageName"/>
+					</xsl:call-template>
+				</xsl:variable>
+				<xsl:element name="link">
+					<xsl:attribute name="rel">stylesheet</xsl:attribute>
+					<xsl:attribute name="href"><xsl:value-of select="$baseRef"/>style.css</xsl:attribute>
+					<xsl:attribute name="type">text/css</xsl:attribute>
+					<xsl:attribute name="media">screen</xsl:attribute>
+				</xsl:element>
+				<xsl:element name="link">
+					<xsl:attribute name="rel">stylesheet</xsl:attribute>
+					<xsl:attribute name="href"><xsl:value-of select="$baseRef"/>print.css</xsl:attribute>
+					<xsl:attribute name="type">text/css</xsl:attribute>
+					<xsl:attribute name="media">print</xsl:attribute>
+				</xsl:element>
+				<xsl:element name="link">
+					<xsl:attribute name="rel">stylesheet</xsl:attribute>
+					<xsl:attribute name="href"><xsl:value-of select="$baseRef"/>override.css</xsl:attribute>
+					<xsl:attribute name="type">text/css</xsl:attribute>
+				</xsl:element>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:template>
+	<xsl:template name="getTitleScript">
+		<xsl:param name="packageName"/>
+		<xsl:param name="title" select="$title-base"/>
+		<xsl:variable name="baseRef">
+			<xsl:call-template name="getBaseRef">
+				<xsl:with-param name="packageName" select="$packageName"/>
+			</xsl:call-template>
+		</xsl:variable>
+		<script language="javascript" type="text/javascript">
+			<xsl:attribute name="src">
+				<xsl:value-of select="$baseRef"/>
+				<xsl:text>asdoc.js</xsl:text>
+			</xsl:attribute>
+		</script>
+		<xsl:if test="$isEclipse">
+			<script language="javascript" type="text/javascript">
+				<xsl:comment> eclipseBuild = true;</xsl:comment>
+			</script>
+		</xsl:if>
+		<script language="javascript" type="text/javascript">
+			<xsl:attribute name="src">
+				<xsl:value-of select="$baseRef"/>
+				<xsl:text>help.js</xsl:text>
+			</xsl:attribute>
+		</script>
+		<script language="javascript" type="text/javascript">
+			<xsl:attribute name="src">
+				<xsl:value-of select="$baseRef"/>
+				<xsl:text>cookies.js</xsl:text>
+			</xsl:attribute>
+		</script>
+		<script language="javascript" type="text/javascript">
+			<xsl:comment>
+				asdocTitle = '<xsl:value-of select="$title"/>';
+				var baseRef = '<xsl:value-of select="$baseRef"/>';
+				window.onload = configPage;
+			</xsl:comment>
+		</script>
+		<xsl:text>&#xa;</xsl:text>
+		<xsl:if test="$config/options[@standalonesearch='true']">
+			<xsl:call-template name="search.function.submit">
+				<xsl:with-param name="baseRef" select="$baseRef"/>
+			</xsl:call-template>
+		</xsl:if>
+		<script type="text/javascript">
+			scrollToNameAnchor();
+		</script>
+	</xsl:template>
+	<xsl:template name="search.function.submit">
+		<xsl:param name="baseRef"/>
+		<script language="javascript" type="text/javascript">
+			<xsl:comment>
+				<xsl:text>&#xa;</xsl:text>
+				<xsl:text>function submitValue(){</xsl:text>
+				<xsl:text>&#xa;</xsl:text>
+				<xsl:text>var searchStr=document.getElementById('search-livedocs').value;</xsl:text>
+				<xsl:text>&#xa;</xsl:text>
+				<xsl:text>window.location="</xsl:text><xsl:value-of select="$baseRef"/><xsl:text>search.html"+"###"+searchStr;</xsl:text>
+				<xsl:text>&#xa;</xsl:text>
+				<xsl:text>}</xsl:text>
+				<xsl:text>&#xa;</xsl:text>
+			</xsl:comment>
+		</script>
+	</xsl:template>
+	<xsl:template name="getLinks">
+		<xsl:param name="packageName" select="''"/>
+		<xsl:param name="fileName"/>
+		<xsl:param name="fileName2" select="'all-classes.html'"/>
+		<xsl:param name="showInnerClasses" select="false()"/>
+		<xsl:param name="showConstants" select="false()"/>
+		<xsl:param name="showProperties" select="true()"/>
+		<xsl:param name="showConstructors" select="false()"/>
+		<xsl:param name="showMethods" select="true()"/>
+		<xsl:param name="showStyles" select="false()"/>
+		<xsl:param name="showSkinState" select="false()"/>
+		<xsl:param name="showSkinPart" select="false()"/>		
+		<xsl:param name="showEffects" select="false()"/>
+		<xsl:param name="showEvents" select="false()"/>
+		<xsl:param name="showIncludeExamples" select="false()"/>
+		<xsl:param name="showPackages" select="true()"/>
+		<xsl:param name="showAllClasses" select="true()"/>
+		<xsl:param name="showLanguageElements" select="boolean($config/languageElements[@show='true'])"/>
+		<xsl:param name="showIndex" select="true()"/>
+		<xsl:param name="showAppendixes" select="true()"/>
+		<xsl:param name="showPackageConstants" select="false()"/>
+		<xsl:param name="showPackageProperties" select="false()"/>
+		<xsl:param name="showPackageFunctions" select="false()"/>
+		<xsl:param name="showInterfaces" select="false()"/>
+		<xsl:param name="showClasses" select="false()"/>
+		<xsl:param name="showPackageUse" select="false()"/>
+		<xsl:param name="copyNum" select="'1'"/>
+		<xsl:param name="additionalLinks"/>
+		<xsl:param name="splitIndex" select="$config/options[@splitIndex='true']"/>
+		<xsl:param name="showMXMLOnly" select="boolean($config/options[@showMXMLOnly='true'])"/>
+		<xsl:param name="showConventions" select="boolean($config/options[@showConventions!='false'])"/>
+		<xsl:variable name="baseRef">
+			<xsl:call-template name="getBaseRef">
+				<xsl:with-param name="packageName" select="$packageName"/>
+			</xsl:call-template>
+		</xsl:variable>
+		<xsl:variable name="href">
+			<xsl:variable name="isTopLevel">
+				<xsl:call-template name="isTopLevel">
+					<xsl:with-param name="packageName" select="$packageName"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:if test="$isTopLevel='false'">
+				<xsl:value-of select="translate($packageName,'.','/')"/>
+				<xsl:text>/</xsl:text>
+			</xsl:if>
+		</xsl:variable>
+		<xsl:if test="$copyNum='1'">
+			<div class="pageTop"/>
+			<table width="100%" cellpadding="0" cellspacing="0" id="titleTable" style="display:none">
+				<tr>
+					<td valign="left" width="64" style="padding-left:5px">
+						<img src="{$baseRef}images/mm-icon.jpg" border="0">
+							<xsl:attribute name="alt">
+								<xsl:call-template name="getLocalizedString">
+									<xsl:with-param name="key">AdobeLogo</xsl:with-param>
+								</xsl:call-template>
+							</xsl:attribute>
+							<xsl:attribute name="title">
+								<xsl:call-template name="getLocalizedString">
+									<xsl:with-param name="key">AdobeLogo</xsl:with-param>
+								</xsl:call-template>
+							</xsl:attribute>
+						</img>
+					</td>
+					<td align="center" valign="middle">
+						<xsl:variable name="fontSize">
+							<xsl:if test="string-length($config/title/@size)">
+								<xsl:value-of select="$config/title/@size"/>
+							</xsl:if>
+							<xsl:if test="not(string-length($config/title/@size))">
+								<xsl:value-of select="24"/>
+							</xsl:if>
+						</xsl:variable>
+						<h1 style="font-size:{$fontSize}px">
+							<xsl:value-of select="$title-base"/>
+						</h1>
+					</td>
+				</tr>
+				<tr>
+					<td colspan="2" height="5px"/>
+				</tr>
+			</table>
+		</xsl:if>
+		<xsl:if test="not($copyNum='1')">
+			<xsl:call-template name="getNavLinks">
+				<xsl:with-param name="copyNum" select="$copyNum"/>
+				<xsl:with-param name="baseRef" select="$baseRef"/>
+				<xsl:with-param name="showPackages" select="$showPackages"/>
+				<xsl:with-param name="showAllClasses" select="$showAllClasses"/>
+				<xsl:with-param name="showLanguageElements" select="$showLanguageElements"/>
+				<xsl:with-param name="showMXMLOnly" select="$showMXMLOnly"/>
+				<xsl:with-param name="showIndex" select="$showIndex"/>
+				<xsl:with-param name="splitIndex" select="$splitIndex"/>
+				<xsl:with-param name="showAppendixes" select="$showAppendixes"/>
+				<xsl:with-param name="showConventions" select="$showConventions"/>
+				<xsl:with-param name="href" select="$href"/>
+				<xsl:with-param name="fileName" select="$fileName"/>
+				<xsl:with-param name="fileName2" select="$fileName2"/>
+			</xsl:call-template>
+		</xsl:if>
+		<div width="100%" class="topLinks" align="right">
+			<span>
+
+				<xsl:if test="$showProperties">
+					<a href="#propertySummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Properties']]/entry[2]/p"/>
+					</a>
+					<xsl:if
+						test="$showPackageProperties or $showConstructors or $showMethods or $showPackageFunctions or $showEvents or $showStyles or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showPackageProperties">
+					<a href="package.html#propertySummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Properties']]/entry[2]/p"/>
+					</a>
+					<xsl:if
+						test="$showConstructors or $showMethods or $showPackageFunctions or $showEvents or $showStyles or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showConstructors">
+					<a href="#constructorSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Constructor']]/entry[2]/p"/>
+					</a>
+					<xsl:if
+						test="$showMethods or $showPackageFunctions or $showEvents or $showStyles or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="not($showMethods=false)">
+					<a href="#methodSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Method']]/entry[2]/p"/>
+					</a>
+					<xsl:if
+						test="$showPackageFunctions or $showEvents or $showStyles or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showPackageFunctions">
+					<a href="package.html#methodSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Functions']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showEvents or $showStyles or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showEvents">
+					<a href="#eventSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Events']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showStyles or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showStyles">
+					<a href="#styleSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Styles']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showSkinState or $showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showSkinPart">
+					<a href="#SkinPartSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SkinParts']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showSkinState or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showSkinState">
+					<a href="#SkinStateSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SkinStates']]/entry[2]/p"/>
+					</a>					
+					<xsl:if test="$showEffects or $showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showEffects">
+					<a href="#effectSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Effects']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showConstants or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showConstants">
+					<a href="#constantSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Constants']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showPackageConstants">
+					<a href="package.html#constantSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Constants']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showInterfaces">
+					<a href="package-detail.html#interfaceSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Interfaces']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showClasses or $showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showClasses">
+					<a href="package-detail.html#classSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Classes']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showPackageUse or $showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showPackageUse">
+					<a href="package-use.html">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Use']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$showIncludeExamples or $additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$showIncludeExamples">
+					<a href="#includeExamplesSummary">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Examples']]/entry[2]/p"/>
+					</a>
+					<xsl:if test="$additionalLinks">
+						<xsl:text>&#xA0;| </xsl:text>
+					</xsl:if>
+				</xsl:if>
+				<xsl:if test="$additionalLinks">
+					<xsl:copy-of select="$additionalLinks"/>
+				</xsl:if>
+			</span>
+		</div>
+		<xsl:if test="not($copyNum='2')">
+			<xsl:call-template name="getNavLinks">
+				<xsl:with-param name="copyNum" select="$copyNum"/>
+				<xsl:with-param name="baseRef" select="$baseRef"/>
+				<xsl:with-param name="showPackages" select="$showPackages"/>
+				<xsl:with-param name="showAllClasses" select="$showAllClasses"/>
+				<xsl:with-param name="showLanguageElements" select="$showLanguageElements"/>
+				<xsl:with-param name="showMXMLOnly" select="$showMXMLOnly"/>
+				<xsl:with-param name="showIndex" select="$showIndex"/>
+				<xsl:with-param name="splitIndex" select="$splitIndex"/>
+				<xsl:with-param name="showAppendixes" select="$showAppendixes"/>
+				<xsl:with-param name="showConventions" select="$showConventions"/>
+				<xsl:with-param name="href" select="$href"/>
+				<xsl:with-param name="fileName" select="$fileName"/>
+				<xsl:with-param name="fileName2" select="$fileName2"/>
+			</xsl:call-template>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getLinks2">
+		<xsl:param name="subTitle" select="$nbsp"/>
+		<xsl:param name="packageName" select="''"/>
+		<xsl:param name="fileName"/>
+		<xsl:param name="fileName2" select="'all-classes.html'"/>
+		<xsl:param name="showInnerClasses"/>
+		<xsl:param name="showConstants" select="false()"/>
+		<xsl:param name="showProperties" select="true()"/>
+		<xsl:param name="showConstructors" select="false()"/>
+		<xsl:param name="showMethods" select="true()"/>
+		<xsl:param name="showStyles" select="false()"/>
+		<xsl:param name="showSkinState" select="false()"/>
+		<xsl:param name="showSkinPart" select="false()"/>		
+		<xsl:param name="showEffects" select="false()"/>
+		<xsl:param name="showEvents" select="false()"/>
+		<xsl:param name="showIncludeExamples" select="false()"/>
+		<xsl:param name="showPackages" select="true()"/>
+		<xsl:param name="showAllClasses" select="true()"/>
+		<xsl:param name="showLanguageElements" select="boolean($config/languageElements[@show='true'])"/>
+		<xsl:param name="showIndex" select="true()"/>
+		<xsl:param name="showAppendixes" select="boolean($config/appendixes[@show='true'])"/>
+		<xsl:param name="showPackageConstants" select="false()"/>
+		<xsl:param name="showPackageProperties" select="false()"/>
+		<xsl:param name="showPackageFunctions" select="false()"/>
+		<xsl:param name="showInterfaces" select="false()"/>
+		<xsl:param name="showClasses" select="false()"/>
+		<xsl:param name="showPackageUse" select="false()"/>
+		<xsl:param name="copyNum" select="'1'"/>
+		<xsl:param name="additionalLinks"/>
+		<xsl:param name="splitIndex" select="$config/options[@splitIndex='true']"/>
+		<xsl:param name="showConventions" select="boolean($config/options[@showConventions!='false'])"/>
+		<xsl:variable name="baseRef">
+			<xsl:call-template name="getBaseRef">
+				<xsl:with-param name="packageName" select="$packageName"/>
+			</xsl:call-template>
+		</xsl:variable>
+		<xsl:variable name="href">
+			<xsl:variable name="isTopLevel">
+				<xsl:call-template name="isTopLevel">
+					<xsl:with-param name="packageName" select="$packageName"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:if test="$isTopLevel='false'">
+				<xsl:value-of select="translate($packageName,'.','/')"/>
+				<xsl:text>/</xsl:text>
+			</xsl:if>
+		</xsl:variable>
+		<xsl:if test="$copyNum='1'">
+			<xsl:if test="not($config/options[@eclipse='true'])">
+				<table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none">
+					<tr>
+						<td class="titleTableTitle" align="left">
+							<xsl:choose>
+								<xsl:when test="$prog_language_name='javascript'"/>
+								<xsl:otherwise>
+									<xsl:value-of disable-output-escaping="yes" select="$page-title-base"/>
+								</xsl:otherwise>
+							</xsl:choose>
+						</td>
+						<xsl:if test="$config/options[@ion='true']">
+							<td class="titleTableSearch" align="center">
+								<xsl:comment>#include virtual="/livedocs/flex/3/langref/ionsearchform.ssi"</xsl:comment>
+							</td>
+						</xsl:if>
+						<xsl:if test="$config/options[@livedocs='true']">
+							<td class="titleTableSearch" align="center">
+								<form class="searchForm" target="adbe_window" method="get" action="{$liveDocsSearchServlet}"
+									onsubmit="this.term.value = this.termPrefix.value + &quot;\&quot;&quot; + this.search_text.value + &quot;\&quot;&quot;;">
+									<input class="hidden" name="loc" value="{$liveDocsSearchLocale}" type="hidden"/>
+									<input class="hidden" name="termPrefix" value="{$liveDocsSearchSite}" type="hidden"/>
+									<input class="hidden" name="term" value="" type="hidden"/>
+									<input class="hidden" name="area" value="" type="hidden"/>
+									<input id="search-livedocs" name="search_text" value="" title="{$liveDocsSearchString}" type="text"/>
+									<xsl:text> </xsl:text>
+									<input type="submit" name="action" value="{$liveDocsSearch}"/>
+								</form>
+							</td>
+						</xsl:if>
+						<xsl:variable name="ref.path">
+							<xsl:value-of select="$baseRef"/>
+							<xsl:text>search.html</xsl:text>
+						</xsl:variable>
+						<xsl:if test="$config/options[@standalonesearch='true']">
+							<td class="titleTableSearch" align="center">
+								<form class="searchForm" method="get" action="{$ref.path}" onsubmit="submitValue();">
+									<input class="hidden" name="loc" value="{$liveDocsSearchLocale}" type="hidden"/>
+									<input class="hidden" name="termPrefix" value="" type="hidden"/>
+									<input class="hidden" name="term" value="" type="hidden"/>
+									<input class="hidden" name="area" value="" type="hidden"/>
+									<input id="search-livedocs" name="search_text" value="" title="{$liveDocsSearchString}" type="text"/>
+									<xsl:text> </xsl:text>
+									<input type="button" name="action" value="{$liveDocsSearch}" onclick="submitValue()"/>
+								</form>
+							</td>
+						</xsl:if>
+						<td class="titleTableTopNav" align="right">
+							<xsl:choose>
+								<xsl:when test="$prog_language_name='javascript'"/>
+								<xsl:otherwise>
+									<xsl:call-template name="getNavLinks2">
+										<xsl:with-param name="copyNum" select="$copyNum"/>
+										<xsl:with-param name="baseRef" select="$baseRef"/>
+										<xsl:with-param name="showPackages" select="$showPackages"/>
+										<xsl:with-param name="showAllClasses" select="$showAllClasses"/>
+										<xsl:with-param name="showLanguageElements" select="$showLanguageElements"/>
+										<xsl:with-param name="showIndex" select="$showIndex"/>
+										<xsl:with-param name="splitIndex" select="$splitIndex"/>
+										<xsl:with-param name="showAppendixes" select="$showAppendixes"/>
+										<xsl:with-param name="showConventions" select="$showConventions"/>
+										<xsl:with-param name="href" select="$href"/>
+										<xsl:with-param name="fileName" select="$fileName"/>
+										<xsl:with-param name="fileName2" select="$fileName2"/>
+									</xsl:call-template>
+								</xsl:otherwise>
+							</xsl:choose>
+						</td>
+						<td class="titleTableLogo" align="right" rowspan="3">
+							<img src="{$baseRef}images/logo.jpg" class="logoImage">
+								<xsl:attribute name="alt">
+									<xsl:call-template name="getLocalizedString">
+										<xsl:with-param name="key">AdobeLogo</xsl:with-param>
+									</xsl:call-template>
+								</xsl:attribute>
+								<xsl:attribute name="title">
+									<xsl:call-template name="getLocalizedString">
+										<xsl:with-param name="key">AdobeLogo</xsl:with-param>
+									</xsl:call-template>
+								</xsl:attribute>
+							</img>
+						</td>
+					</tr>
+					<tr class="titleTableRow2">
+						<td class="titleTableSubTitle" id="subTitle" align="left">
+							<xsl:if test="string-length($subTitle)">
+								<xsl:value-of select="$subTitle"/>
+							</xsl:if>
+							<xsl:if test="not(string-length($subTitle))">
+								<xsl:value-of select="$nbsp"/>
+							</xsl:if>
+						</td>
+						<td class="titleTableSubNav" id="subNav" align="right">
+							<xsl:if test="$config/options[@livedocs='true']">
+								<xsl:attribute name="colspan">
+									<xsl:text>2</xsl:text>
+								</xsl:attribute>
+							</xsl:if>
+							<xsl:if test="$config/options[@ion='true']">
+								<xsl:attribute name="colspan">
+									<xsl:text>2</xsl:text>
+								</xsl:attribute>
+							</xsl:if>
+							<xsl:if test="$config/options[@standalonesearch='true']">
+								<xsl:attribute name="colspan">
+									<xsl:text>2</xsl:text>
+								</xsl:attribute>
+							</xsl:if>
+							<xsl:choose>
+								<xsl:when test="$prog_language_name='javascript'"/>
+								<xsl:otherwise>
+									<xsl:if test="$showProperties=true()">
+										<a href="#propertySummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Properties']]/entry[2]/p"/>
+										</a>
+										<xsl:if
+											test="$showPackageProperties=true()  or $showConstructors=true()  or $showMethods=true()  or $showPackageFunctions=true()  or $showEvents=true()  or $showStyles=true()  or $showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showPackageProperties">
+										<a href="package.html#propertySummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Properties']]/entry[2]/p"/>
+										</a>
+										<xsl:if
+											test="$showConstructors=true()  or $showMethods=true()  or $showPackageFunctions=true()  or $showEvents=true()  or $showStyles=true()  or $showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showConstructors=true()">
+										<a href="#constructorSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Constructor']]/entry[2]/p"/>
+										</a>
+										<xsl:if
+											test="$showMethods=true()  or $showPackageFunctions=true()  or $showEvents=true()  or $showStyles=true()  or $showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="not($showMethods=false())">
+										<a href="#methodSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Methods']]/entry[2]/p"/>
+										</a>
+										<xsl:if
+											test="$showPackageFunctions=true()  or $showEvents=true()  or $showStyles=true()  or $showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showPackageFunctions">
+										<a href="package.html#methodSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Functions']]/entry[2]/p"/>
+										</a>
+										<xsl:if
+											test="$showEvents=true()  or $showStyles=true()  or $showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showEvents=true()">
+										<a href="#eventSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Events']]/entry[2]/p"/>
+										</a>
+										<xsl:if
+											test="$showStyles=true()  or $showSkinState=true() or $showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showStyles=true()">
+										<a href="#styleSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Styles']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showSkinState=true() or $showEffects=true() or $showConstants=true() or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples=true() or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+
+									<xsl:if test="$showSkinPart=true()">
+										<a href="#SkinPartSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SkinParts']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showSkinState=true() or $showConstants=true() or $showPackageConstants or $showInterfaces or $showClasses or $showPackageUse or $showIncludeExamples=true() or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showSkinState=true()">
+										<a href="#SkinStateSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'SkinStates']]/entry[2]/p"/>
+										</a>										
+										<xsl:if test="$showEffects=true()  or $showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showEffects=true()">
+										<a href="#effectSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Effects']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showConstants=true()  or $showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showConstants=true()">
+										<a href="#constantSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Constants']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showPackageConstants=true()  or $showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showPackageConstants">
+										<a href="package.html#constantSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Constants']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showInterfaces=true()  or $showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showInterfaces">
+										<a href="package-detail.html#interfaceSummary">
+											<xsl:call-template name="getLocalizedString">
+												<xsl:with-param name="key">Interfaces</xsl:with-param>
+											</xsl:call-template>
+										</a>
+										<xsl:if test="$showClasses=true()  or $showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showClasses">
+										<xsl:variable name="href">
+											<xsl:if test="$fileName != 'deprecated'">
+												<xsl:text>package-detail.html</xsl:text>
+											</xsl:if>
+											<xsl:text>#classSummary</xsl:text>
+										</xsl:variable>
+										<a href="{$href}">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Classes']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showPackageUse=true()  or $showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showPackageUse">
+										<a href="package-use.html">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Use']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$showIncludeExamples=true()  or $additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$showIncludeExamples=true()">
+										<a href="#includeExamplesSummary">
+											<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Examples']]/entry[2]/p"/>
+										</a>
+										<xsl:if test="$additionalLinks">
+											<xsl:text>&#xA0;| </xsl:text>
+										</xsl:if>
+									</xsl:if>
+									<xsl:if test="$additionalLinks">
+										<xsl:copy-of select="$additionalLinks"/>
+									</xsl:if>
+								</xsl:otherwise>
+							</xsl:choose>
+						</td>
+					</tr>
+					<tr class="titleTableRow3">
+						<td>
+							<xsl:attribute name="colspan">
+								<xsl:if test="$config/options[@livedocs='true']">
+									<xsl:text>3</xsl:text>
+								</xsl:if>
+								<xsl:choose>
+									<xsl:when test="not($config/options[@livedocs='true']) and $config/options[@standalonesearch='false']">
+										<xsl:text>3</xsl:text>
+									</xsl:when>
+									<xsl:otherwise>
+										<xsl:text>3</xsl:text>
+									</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:value-of select="$nbsp"/>
+						</td>
+					</tr>
+				</table>
+			</xsl:if>
+			<script language="javascript" type="text/javascript" xml:space="preserve">
+				<xsl:comment>
+				<xsl:text/>
+					<xsl:text>if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {</xsl:text><xsl:text>titleBar_setSubTitle("</xsl:text><xsl:value-of select="$subTitle"/><xsl:text>"); </xsl:text><xsl:text>titleBar_setSubNav(</xsl:text><xsl:value-of select="$showConstants"/><xsl:text>,</xsl:text><xsl:value-of select="$showProperties"/><xsl:text>,</xsl:text><xsl:value-of select="$showStyles"/><xsl:text>,</xsl:text><xsl:value-of select="$showSkinPart"/><xsl:text>,</xsl:text><xsl:value-of select="$showSkinState"/><xsl:text>,</xsl:text><xsl:value-of select="$showEffects"/><xsl:text>,</xsl:text><xsl:value-of select="$showEvents"/><xsl:text>,</xsl:text><xsl:value-of select="$showConstructors"/><xsl:text>,</xsl:text><xsl:value-of select="$showMethods"/><xsl:text>,</xsl:text><xsl:value-of select="$showIncludeExamples"/><xsl:text>,</xsl:text><xsl:value-of select="$showPackageConstants"/>	<xsl:text>,</xsl:text><xsl:value-of select="$showPackageProperties"/><xsl:text>,</xsl:text><xsl:value-of sele
 ct="$showPackageFunctions"/><xsl:text>,</xsl:text><xsl:value-of select="$showInterfaces"/><xsl:text>,</xsl:text><xsl:value-of select="$showClasses"/><xsl:text>,</xsl:text><xsl:value-of select="$showPackageUse"/><xsl:text>);</xsl:text><xsl:text>}</xsl:text>	<xsl:text/>
+				</xsl:comment>
+			</script>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getNavLinks2">
+		<xsl:param name="copyNum"/>
+		<xsl:param name="baseRef"/>
+		<xsl:param name="showPackages"/>
+		<xsl:param name="showAllClasses"/>
+		<xsl:param name="showLanguageElements"/>
+		<xsl:param name="showIndex"/>
+		<xsl:param name="splitIndex"/>
+		<xsl:param name="showAppendixes"/>
+		<xsl:param name="showConventions"/>
+		<xsl:param name="href"/>
+		<xsl:param name="fileName"/>
+		<xsl:param name="fileName2"/>
+		<xsl:if test="$showPackages">
+			<a href="{$baseRef}package-summary.html" onclick="loadClassListFrame('{$baseRef}all-classes.html')">
+				<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'allPackages']]/entry[2]/p"/>
+			</a>
+			<xsl:text>&#xA0;|&#xA0;</xsl:text>
+		</xsl:if>
+		<xsl:if test="$showAllClasses">
+			<xsl:choose>
+				<xsl:when test="$prog_language_name='javascript'"/>
+				<xsl:otherwise>
+					<a href="{$baseRef}class-summary.html" onclick="loadClassListFrame('{$baseRef}all-classes.html')">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'allClasses']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;|&#xA0;</xsl:text>
+				</xsl:otherwise>
+			</xsl:choose>
+		</xsl:if>
+		<xsl:if test="$showLanguageElements">
+			<xsl:choose>
+				<xsl:when test="$prog_language_name='javascript'"/>
+				<xsl:otherwise>
+					<a href="{$baseRef}language-elements.html">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'LanguageElements']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:otherwise>
+			</xsl:choose>
+		</xsl:if>
+		<xsl:if test="$showIndex">
+			<xsl:if test="$splitIndex='false'">
+				<a href="{$baseRef}all-index.html" onclick="loadClassListFrame('{$baseRef}index-list.html')">
+					<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
+				</a>
+			</xsl:if>
+			<xsl:if test="$splitIndex!='false' and $config/languageElements/@show='true' and $config/languageElements/@operators='true'">
+				<a href="{$baseRef}all-index-Symbols.html" onclick="loadClassListFrame('{$baseRef}index-list.html')">
+					<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
+				</a>
+			</xsl:if>
+			<xsl:if test="$isLiveDocs">
+				<xsl:text disable-output-escaping="yes">&lt;br/&gt;</xsl:text>
+			</xsl:if>
+			<xsl:if test="$splitIndex!='false' and ($config/languageElements/@show!='true' or $config/languageElements/@operators!='true')">
+				<a href="{$baseRef}all-index-A.html" onclick="loadClassListFrame('{$baseRef}index-list.html')">
+					<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
+				</a>
+			</xsl:if>
+			<xsl:text>&#xA0;|&#xA0;</xsl:text>
+		</xsl:if>
+		<xsl:if test="$showAppendixes and $config/appendixes/@show='true'">
+			<a href="{$baseRef}appendixes.html">
+				<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Appendix']]/entry[2]/p"/>
+			</a>
+			<xsl:text>&#xA0;|&#xA0;</xsl:text>
+		</xsl:if>
+		<xsl:if test="$showConventions">
+			<xsl:choose>
+				<xsl:when test="$prog_language_name='javascript'"/>
+				<xsl:otherwise>
+					<a href="{$baseRef}conventions.html">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Conventions']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;|&#xA0;</xsl:text>
+				</xsl:otherwise>
+			</xsl:choose>
+		</xsl:if>
+		<xsl:choose>
+			<xsl:when test="$prog_language_name='javascript'"/>
+			<xsl:otherwise>
+				<a id="framesLink{$copyNum}" href="{$baseRef}index.html?{$href}{$fileName}.html&amp;{$fileName2}">
+					<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Frames']]/entry[2]/p"/>
+				</a>
+			</xsl:otherwise>
+		</xsl:choose>
+		<a id="noFramesLink{$copyNum}" style="display:none" href="" onclick="parent.location=document.location">
+			<xsl:call-template name="getLocalizedString">
+				<xsl:with-param name="key">NoFrames</xsl:with-param>
+			</xsl:call-template>
+		</a>
+	</xsl:template>
+	<xsl:template name="getNavLinks">
+		<xsl:param name="copyNum"/>
+		<xsl:param name="baseRef"/>
+		<xsl:param name="showPackages"/>
+		<xsl:param name="showAllClasses"/>
+		<xsl:param name="showLanguageElements"/>
+		<xsl:param name="showMXMLOnly"/>
+		<xsl:param name="showIndex"/>
+		<xsl:param name="splitIndex"/>
+		<xsl:param name="showAppendixes"/>
+		<xsl:param name="showConventions"/>
+		<xsl:param name="href"/>
+		<xsl:param name="fileName"/>
+		<xsl:param name="fileName2"/>
+		<div width="100%" class="topLinks" align="right" style="padding-bottom:5px">
+			<span id="navigationCell{$copyNum}" style="display:none;font-size:14px;font-weight:bold">
+				<xsl:if test="$showPackages">
+					<a href="{$baseRef}package-summary.html" onclick="loadClassListFrame('{$baseRef}all-classes.html')">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'allPackages']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<xsl:if test="$showAllClasses">
+					<a href="{$baseRef}class-summary.html" onclick="loadClassListFrame('{$baseRef}all-classes.html')">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'allClasses']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<xsl:if test="$showLanguageElements">
+					<a href="{$baseRef}language-elements.html">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'LanguageElements']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<xsl:if test="$showMXMLOnly">
+					<a href="{$baseRef}mxml-tag-detail.html" onclick="loadClassListFrame('{$baseRef}mxml-tags.html')">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'MXMLOnly']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<xsl:if test="$showIndex">
+					<xsl:if test="$splitIndex='false'">
+						<a href="{$baseRef}all-index.html" onclick="loadClassListFrame('{$baseRef}index-list.html')">
+							<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
+						</a>
+					</xsl:if>
+					<xsl:if test="$splitIndex!='false' and $config/languageElements/@show='true' and $config/languageElements/@operators='true'">
+						<a href="{$baseRef}all-index-Symbols.html" onclick="loadClassListFrame('{$baseRef}index-list.html')">
+							<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
+						</a>
+					</xsl:if>
+					<xsl:if test="$splitIndex!='false' and ($config/languageElements/@show!='true' or $config/languageElements/@operators!='true')">
+						<a href="{$baseRef}all-index-A.html" onclick="loadClassListFrame('{$baseRef}index-list.html')">
+							<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Index']]/entry[2]/p"/>
+						</a>
+					</xsl:if>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<xsl:if test="$showAppendixes and $config/appendixes/@show='true'">
+					<a href="{$baseRef}appendixes.html">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Appendix']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<xsl:if test="$showConventions">
+					<a href="{$baseRef}conventions.html">
+						<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Conventions']]/entry[2]/p"/>
+					</a>
+					<xsl:text>&#xA0;| </xsl:text>
+				</xsl:if>
+				<a id="framesLink{$copyNum}" href="{$baseRef}index.html?{$href}{$fileName}.html&amp;{$fileName2}">
+					<xsl:value-of select="$asdoc_terms/row[entry[1][p/text() = 'Frames']]/entry[2]/p"/>
+				</a>
+				<a id="noFramesLink{$copyNum}" style="display:none" href="" onclick="parent.location=document.location">
+					<xsl:call-template name="getLocalizedString">
+						<xsl:with-param name="key">NoFrames</xsl:with-param>
+					</xsl:call-template>
+				</a>
+			</span>
+		</div>
+	</xsl:template>
+	<xsl:template name="getFeedbackLink">
+		<xsl:param name="topic"/>
+		<xsl:param name="filename"/>
+		<xsl:param name="filename2" select="''"/>
+		<xsl:param name="baseRef"/>
+		<xsl:if test="not ($isLiveDocs)">
+			<xsl:if test="$config/feedback[@show='true']">
+				<xsl:choose>
+					<xsl:when test="$prog_language_name='javascript'"/>
+					<xsl:otherwise>
+						<div class="feedbackLink">
+							<center>
+								<xsl:if test="$config/feedback[@type='email']">
+									<a href="mailto:{$config/feedback/feedbackEmail/address/.}?subject=ASLR Feedback({$timestamp}) : {$topic}">
+										<xsl:value-of select="$config/feedback/feedbackEmail/label/."/>
+									</a>
+								</xsl:if>
+								<xsl:if test="$config/feedback[@type='livedocs']">
+									<a href="javascript:gotoLiveDocs('{$filename}','{$filename2}','{$locale}');">
+										<xsl:value-of select="$config/feedback/feedbackLiveDocs/label/."/>
+									</a>
+								</xsl:if>
+							</center>
+						</div>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:if>
+		</xsl:if>
+		<xsl:if test="$config/options[@ion='true']">
+			<xsl:if test="$config/feedback[@show='true']">
+				<script src="{$baseRef}currentpage.js" type="text/javascript" language="Javascript" charset="UTF-8"/>
+			</xsl:if>
+		</xsl:if>
+		<xsl:if test="$config/options[@livedocs='true']">
+			<div class="feedbackLink">
+				<center>
+					<xsl:if test="$config/feedback[@type='livedocs']">
+						<a href="javascript:gotoLiveDocs('{$filename}','{$filename2}','{$locale}');">
+							<xsl:value-of select="$config/feedback/feedbackLiveDocs/label/."/>
+						</a>
+					</xsl:if>
+				</center>
+			</div>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="showHelpLink">
+		<xsl:if test="$config/exampleHelp and $config/exampleHelp/@show='true'">
+			<xsl:variable name="linkurl" select="concat('&lt;a href=&quot;',$config/exampleHelp/linkUrl,'&quot; target=&quot;external&quot;&gt;')"/>
+			<xsl:value-of disable-output-escaping="yes" select="$linkurl"/>
+			<xsl:value-of disable-output-escaping="yes" select="$config/exampleHelp/linkText"/>
+			<xsl:value-of disable-output-escaping="yes" select="'&lt;/a&gt;'"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="oldversion">
+		<xsl:if test="$showLangVersionWarnings='true' and not(count(versions/langversion))">
+			<xsl:message>WARNING: no langversion for <xsl:if test="../../@name">
+					<xsl:value-of select="../../@name"/>
+					<xsl:text>.</xsl:text>
+				</xsl:if>
+				<xsl:value-of select="@name"/>
+			</xsl:message>
+		</xsl:if>
+		<xsl:if test="$showPlayerVersionWarnings='true' and not(count(versions/playerversion))">
+			<xsl:message>WARNING: no playerversion for <xsl:if test="../../@name">
+					<xsl:value-of select="../../@name"/>
+					<xsl:text>.</xsl:text>
+				</xsl:if>
+				<xsl:value-of select="@name"/>
+			</xsl:message>
+		</xsl:if>
+		<xsl:if test="not($config/options/@showVersions) or $config/options[@showVersions!='false']">
+			<xsl:if test="count(versions/langversion[not(starts-with(@version,'1'))]) or count(versions/playerversion)">
+				<p/>
+				<xsl:if test="count(versions/langversion[not(starts-with(@version,'1'))])">
+					<table cellpadding="0" cellspacing="0" border="0">
+						<tr>
+							<td style="white-space:nowrap" valign="top">
+								<b>
+									<xsl:call-template name="getLocalizedString">
+										<xsl:with-param name="key">LanguageVersion</xsl:with-param>
+									</xsl:call-template>
+									<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+								</b>
+							</td>
+							<td>
+								<xsl:text>ActionScript </xsl:text>
+								<xsl:value-of select="translate(versions/langversion/@version,'+','')"/>
+								<xsl:if test="substring-before(versions/langversion/@version, '+')">
+									<xsl:text> and later</xsl:text>
+								</xsl:if>
+								<xsl:if test="string-length(normalize-space(versions/langversion))">
+									<xsl:value-of select="$emdash"/>
+									<xsl:call-template name="deTilda">
+										<xsl:with-param name="inText" select="normalize-space(versions/langversion)"/>
+									</xsl:call-template>
+								</xsl:if>
+							</td>
+						</tr>
+					</table>
+				</xsl:if>
+			</xsl:if>
+			<xsl:if test="not($config/options/@showVersions) or $config/options[@showVersions!='false'] or $config/options[@showRuntimeVersions='true']">
+				<xsl:if test="count(versions/playerversion)">
+					<table cellpadding="0" cellspacing="0" border="0">
+						<tr>
+							<td style="white-space:nowrap" valign="top">
+								<b>
+									<xsl:call-template name="getLocalizedString">
+										<xsl:with-param name="key">RuntimeVersions</xsl:with-param>
+									</xsl:call-template>
+									<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+								</b>
+							</td>
+							<td>
+								<xsl:choose>
+									<xsl:when test="versions/playerversion/@name='Flash'">
+										<xsl:text>Flash Player </xsl:text>
+									</xsl:when>
+									<xsl:when test="versions/playerversion/@name='Lite'">
+										<xsl:text>Flash Lite </xsl:text>
+									</xsl:when>
+								</xsl:choose>
+								<xsl:value-of select="translate(translate(versions/playerversion/@version,'+',''),',','.')"/>
+								<xsl:if test="substring-before(versions/playerversion/@version, '+')">
+									<xsl:text> and later</xsl:text>
+								</xsl:if>
+								<xsl:if test="string-length(normalize-space(versions/playerversion))">
+									<xsl:value-of select="$emdash"/>
+									<xsl:call-template name="deTilda">
+										<xsl:with-param name="inText" select="normalize-space(versions/playerversion)"/>
+									</xsl:call-template>
+								</xsl:if>
+							</td>
+						</tr>
+					</table>
+				</xsl:if>
+				<p/>
+			</xsl:if>
+		</xsl:if>
+	</xsl:template>
+	<!-- TODO support multiple? -->
+	<xsl:template name="version">
+		<xsl:if test="$showLangVersionWarnings='true' and not(count(prolog/asMetadata/apiVersion/apiLanguage))">
+			<xsl:message>WARNING: no langversion for <xsl:if test="../../apiName">
+					<xsl:value-of select="../../apiName"/>
+					<xsl:text>.</xsl:text>
+				</xsl:if>
+				<xsl:value-of select="apiName"/>
+			</xsl:message>
+		</xsl:if>
+		<xsl:if test="$showPlayerVersionWarnings='true' and not(count(prolog/asMetadata/apiVersion/apiPlatform))">
+			<xsl:message>WARNING: no playerversion for <xsl:if test="../../apiName">
+					<xsl:value-of select="../../apiName"/>
+					<xsl:text>.</xsl:text>
+				</xsl:if>
+				<xsl:value-of select="apiName"/>
+			</xsl:message>
+		</xsl:if>
+		<xsl:if test="not($config/options/@showVersions) or $config/options[@showVersions!='false']">
+			<xsl:if test="count(prolog/asMetadata/apiVersion[not(starts-with(./apiLanguage/@version,'1'))]) or count(./prolog/asMetadata/apiVersion/apiPlatform/@version)">
+				<p/>
+				<xsl:if test="prolog/asMetadata/apiVersion/apiLanguage/@version and count(prolog/asMetadata/apiVersion[not(starts-with(./apiLanguage/@version,'1'))])">
+					<table cellpadding="0" cellspacing="0" border="0">
+						<tr>
+							<td style="white-space:nowrap" valign="top">
+								<b>
+									<xsl:call-template name="getLocalizedString">
+										<xsl:with-param name="key">LanguageVersion</xsl:with-param>
+									</xsl:call-template>
+									<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+								</b>
+							</td>
+							<td>
+								<xsl:text>ActionScript </xsl:text>
+								<xsl:value-of select="translate(prolog/asMetadata/apiVersion/apiLanguage/@version,'+','')"/>
+								<xsl:if test="substring-before(prolog/asMetadata/apiVersion/apiLanguage/@version, '+')">
+									<xsl:text> and later</xsl:text>
+								</xsl:if>
+								<xsl:if test="string-length(normalize-space(prolog/asMetadata/apiVersion/apiLanguage))">
+									<xsl:value-of select="$emdash"/>
+									<xsl:call-template name="deTilda">
+										<xsl:with-param name="inText" select="normalize-space(prolog/asMetadata/apiVersion/apiLanguage)"/>
+									</xsl:call-template>
+								</xsl:if>
+							</td>
+						</tr>
+					</table>
+				</xsl:if>
+				<!--apiLanguage-->
+				<!-- Product Version -->
+				<xsl:if test="count(prolog/asMetadata/apiVersion/apiTool)">
+					<table cellpadding="0" cellspacing="0" border="0">
+						<tr>
+							<td style="white-space:nowrap" valign="top">
+								<b>
+									<xsl:if test="count(prolog/asMetadata/apiVersion/apiTool) = 1">
+										<xsl:call-template name="getLocalizedString">
+											<xsl:with-param name="key">ProductVersion</xsl:with-param>
+										</xsl:call-template>
+										<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+									</xsl:if>
+									<xsl:if test="count(prolog/asMetadata/apiVersion/apiTool) &gt; 1">
+										<xsl:call-template name="getLocalizedString">
+											<xsl:with-param name="key">ProductVersions</xsl:with-param>
+										</xsl:call-template>
+										<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+									</xsl:if>
+								</b>
+							</td>
+							<td>
+								<xsl:for-each select="prolog/asMetadata/apiVersion/apiTool">
+									<xsl:variable name="ToolExpanded">
+										<xsl:call-template name="getLocalizedString">
+											<xsl:with-param name="key">
+												<xsl:value-of select="@name"/>
+											</xsl:with-param>
+										</xsl:call-template>
+									</xsl:variable>
+									<xsl:choose>
+										<xsl:when test="$ToolExpanded">
+											<xsl:value-of select="$ToolExpanded"/>
+										</xsl:when>
+										<xsl:otherwise>
+											<xsl:value-of select="@name"/>
+										</xsl:otherwise>
+									</xsl:choose>
+									<xsl:text> </xsl:text>
+									<xsl:value-of select="translate(translate(@version,'+',''),',','.')"/>
+									<xsl:if test="position() != last()">
+										<xsl:text>,</xsl:text>
+										<xsl:text> </xsl:text>
+									</xsl:if>
+								</xsl:for-each>
+							</td>
+						</tr>
+					</table>
+				</xsl:if>
+				<!--apiTool-->
+
+				<!-- Since -->
+				<xsl:if test="count(prolog/asMetadata/apiVersion/apiSince)">
+					<table cellpadding="0" cellspacing="0" border="0">
+						<tr>
+							<td style="white-space:nowrap" valign="top">
+								<b>
+									<xsl:call-template name="getLocalizedString">
+										<xsl:with-param name="key">Since</xsl:with-param>
+									</xsl:call-template>
+									<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+								</b>
+							</td>
+							<td>
+								<xsl:for-each select="prolog/asMetadata/apiVersion/apiSince">
+									<xsl:value-of select="translate(translate(@version,'+',''),',','.')"/>
+									<xsl:if test="position() != last()">
+										<xsl:text>,</xsl:text>
+										<xsl:text> </xsl:text>
+									</xsl:if>
+								</xsl:for-each>
+							</td>
+						</tr>
+					</table>
+				</xsl:if>
+				<!--apiSince-->
+
+			</xsl:if>
+			<!--apiVersion-->
+		</xsl:if>
+		<!--showVersion-->
+		<xsl:if test="not($config/options/@showVersions) or $config/options[@showVersions!='false'] or $config/options[@showRuntimeVersions='true']">
+			<!-- Multiple Versions -->
+			<xsl:if test="prolog/asMetadata/apiVersion[apiPlatform]">
+				<table cellpadding="0" cellspacing="0" border="0">
+					<tr>
+						<td style="white-space:nowrap" valign="top">
+							<b>
+								<xsl:call-template name="getLocalizedString">
+									<xsl:with-param name="key">RuntimeVersions</xsl:with-param>
+								</xsl:call-template>
+								<xsl:text disable-output-escaping="yes">:&amp;nbsp;</xsl:text>
+							</b>
+						</td>
+						<td>
+							<!-- Add default air 1.0 runtime -->
+							<xsl:if test="count(prolog/asMetadata/apiVersion/apiPlatform) = 1 and (prolog/asMetadata/apiVersion/apiPlatform[@name='Flash'])">
+								<xsl:text>AIR 1.0, </xsl:text>
+							</xsl:if>
+							<xsl:for-each select="prolog/asMetadata/apiVersion/apiPlatform">
+								<xsl:choose>
+									<xsl:when test="@name='Flash'">
+										<xsl:text>Flash Player </xsl:text>
+									</xsl:when>
+									<xsl:when test="@name='AIR'">
+										<xsl:text>AIR</xsl:text>
+									</xsl:when>
+									<xsl:when test="@name='Lite'">
+										<xsl:text>Flash Lite </xsl:text>
+									</xsl:when>
+								</xsl:choose>
+								<xsl:text> </xsl:text>
+								<xsl:value-of select="translate(translate(@version,'+',''),',','.')"/>
+								<xsl:if test="@description!=''">
+									<xsl:text> </xsl:text>
+									<xsl:text>-</xsl:text>
+									<xsl:text> </xsl:text>
+									<xsl:value-of select="normalize-space(@description)"/>
+                                </xsl:if>
+								<xsl:if test="substring-before(string-join(@version, ''), '+')">
+									<xsl:text> and later</xsl:text>
+								</xsl:if>
+								<xsl:if test="position() != last()">
+									<xsl:text>,</xsl:text>
+									<xsl:text> </xsl:text>
+								</xsl:if>
+							</xsl:for-each>
+						</td>
+					</tr>
+				</table>
+			</xsl:if>
+			<!--apiPlatform-->
+			<p/>
+		</xsl:if>
+		<!--showVersions / showRuntimeVersions-->
+	</xsl:template>
+	<xsl:template name="isTopLevel">
+		<xsl:param name="packageName"/>
+		<xsl:value-of select="string-length($packageName)=0 or contains($packageName,'__Global__')"/>
+	</xsl:template>
+	<xsl:template name="getPackageComments">
+		<xsl:param name="name"/>
+		<xsl:element name="package">
+			<xsl:copy-of select="document($packageCommentsFilename)/packages/package[@name=$name]"/>
+		</xsl:element>
+	</xsl:template>
+	<xsl:template name="getLinkFromId">
+		<xsl:param name="id" select="''"/>
+		<xsl:param name="currentPackage" select="''"/>
+		<xsl:param name="memberName" select="''"/>
+		<xsl:if test="string-length($id) &gt; 0">
+			<xsl:variable name="classNameText" select="substring-after($id,':')"/>
+			<xsl:variable name="packageNameText" select="substring-before($id,':')"/>
+			<xsl:variable name="packageName">
+				<xsl:choose>
+					<xsl:when test="not(contains($packageNameText,'.'))">
+						<xsl:value-of select="''"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="$packageNameText"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:variable name="className">
+				<xsl:choose>
+					<xsl:when test="contains($packageName,'.')">
+						<xsl:if test="contains($classNameText,':')">
+							<xsl:value-of select="substring-before($classNameText,':')"/>
+						</xsl:if>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="substring-before($id,':')"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:variable name="methodName">
+				<xsl:choose>
+					<xsl:when test="$memberName != ''">
+						<xsl:value-of select="$memberName"/>
+					</xsl:when>
+					<xsl:when test="contains($packageName,'.')">
+						<xsl:if test="contains($classNameText,':')">
+							<xsl:value-of select="substring-after($classNameText,':')"/>
+						</xsl:if>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="substring-after($id,':')"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:variable name="hPath">
+				<xsl:call-template name="getHyperlinkPath">
+					<xsl:with-param name="destination" select="concat($packageName,':',$className)"/>
+					<xsl:with-param name="currentPackage" select="$currentPackage"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:variable name="completeHLink">
+				<xsl:if test="string-length($methodName) &gt; 0">
+					<xsl:choose>
+						<xsl:when test="contains($methodName,':')">
+							<xsl:value-of select="concat($hPath,'#',substring-before($methodName,':'))"/>
+						</xsl:when>
+						<xsl:otherwise>
+							<xsl:value-of select="concat($hPath,'#',$methodName)"/>
+						</xsl:otherwise>
+					</xsl:choose>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:value-of select="$completeHLink"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getClassLinkFromId">
+		<xsl:param name="id" select="''"/>
+		<xsl:param name="currentPackage" select="''"/>
+		<xsl:if test="string-length($id) &gt; 0">
+			<xsl:variable name="classNameText" select="substring-after($id,':')"/>
+			<xsl:variable name="packageNameText" select="substring-before($id,':')"/>
+			<xsl:variable name="packageName">
+				<xsl:choose>
+					<xsl:when test="not(contains($packageNameText,'.'))">
+						<xsl:value-of select="''"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="$packageNameText"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:variable name="className">
+				<xsl:choose>
+					<xsl:when test="contains($packageName,'.')">
+						<xsl:if test="contains($classNameText,':')">
+							<xsl:value-of select="substring-before($classNameText,':')"/>
+						</xsl:if>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="substring-before($id,':')"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:variable name="hPath">
+				<xsl:call-template name="getHyperlinkPath">
+					<xsl:with-param name="destination" select="concat($packageName,':',$className)"/>
+					<xsl:with-param name="currentPackage" select="$currentPackage"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:value-of select="$hPath"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getClassNameFromId">
+		<xsl:param name="id" select="''"/>
+		<xsl:if test="string-length($id) &gt; 0">
+			<xsl:variable name="classNameText" select="substring-after($id,':')"/>
+			<xsl:variable name="packageNameText" select="substring-before($id,':')"/>
+			<xsl:variable name="packageName">
+				<xsl:choose>
+					<xsl:when test="not(contains($packageNameText,'.')) and string-length($packageNameText) = 0">
+						<xsl:value-of select="''"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:value-of select="$packageNameText"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:variable name="className">
+				<xsl:choose>
+					<xsl:when test="contains($packageName,'.')">
+						<xsl:if test="contains($classNameText,':')">
+							<xsl:value-of select="substring-before($classNameText,':')"/>
+						</xsl:if>
+						<xsl:if test="not(contains($classNameText,':'))">
+							<xsl:value-of select="$classNameText"/>
+						</xsl:if>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:if test="contains($classNameText,':')">
+							<xsl:value-of select="substring-before($classNameText,':')"/>
+						</xsl:if>
+						<xsl:if test="not(contains($classNameText,':'))">
+							<xsl:value-of select="$classNameText"/>
+						</xsl:if>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:value-of select="$className"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="styleTypeHyperlink">
+		<xsl:param name="type" select="''"/>
+		<xsl:param name="currentPackage" select="''"/>
+		<xsl:if test="$type">
+			<xsl:variable name="relativePath">
+				<xsl:call-template name="getRelativePath">
+					<xsl:with-param name="currentPath" select="$currentPackage"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:variable name="hyperLink">
+				<xsl:choose>
+					<xsl:when test="not(contains($type,'.'))">
+						<xsl:value-of select="concat($relativePath,$type,'.html')"/>
+					</xsl:when>
+					<xsl:otherwise>
+						<xsl:variable name="package">
+							<xsl:call-template name="substring-before-last">
+								<xsl:with-param name="input" select="$type"/>
+								<xsl:with-param name="substr" select="'.'"/>
+							</xsl:call-template>
+						</xsl:variable>
+						<xsl:variable name="class">
+							<xsl:call-template name="substring-after-last">
+								<xsl:with-param name="input" select="$type"/>
+								<xsl:with-param name="substr" select="'.'"/>
+							</xsl:call-template>
+						</xsl:variable>
+						<xsl:value-of select="concat($relativePath,translate($package,'.','/'),'/',$class,'.html')"/>
+					</xsl:otherwise>
+				</xsl:choose>
+			</xsl:variable>
+			<xsl:value-of select="$hyperLink"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getEventClassLinkFromId">
+		<xsl:param name="id" select="''"/>
+		<xsl:param name="currentPackage" select="''"/>
+		<xsl:if test="string-length($id) &gt; 0">
+			<xsl:variable name="text" select="substring-before($id,'_')"/>
+			<xsl:variable name="className" select="substring-after($text,':')"/>
+			<xsl:variable name="packageName" select="substring-before($text,':')"/>
+			<xsl:variable name="hPath">
+				<xsl:call-template name="getHyperlinkPath">
+					<xsl:with-param name="destination" select="concat($packageName,':',$className)"/>
+					<xsl:with-param name="currentPackage" select="$currentPackage"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:value-of select="$hPath"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getEventClassNameFromId">
+		<xsl:param name="currentPackage"/>
+		<xsl:param name="id" select="''"/>
+		<xsl:if test="string-length($id) &gt; 0">
+			<xsl:variable name="text" select="substring-before($id,'_')"/>
+			<xsl:variable name="className" select="substring-after($text,':')"/>
+			<xsl:value-of select="$className"/>
+		</xsl:if>
+	</xsl:template>
+	<xsl:template name="getConRefText">
+		<xsl:param name="conref"/>
+		<xsl:param name="descriptionType"/>
+		<xsl:param name="entryType"/>
+		<xsl:param name="doNotProcessTags" select="false()"/>
+		<xsl:param name="currentPackage" select="ancestor-or-self::apiPackage/apiName"/>
+		<xsl:if test="string-length($conref) &gt; 0">
+			<xsl:variable name="relativePath">
+				<xsl:call-template name="getRelativePath">
+					<xsl:with-param name="currentPath" select="$currentPackage"/>
+				</xsl:call-template>
+			</xsl:variable>
+			<xsl:variable name="packageClassText">
+				<xsl:if test="contains($conref,'#') and contains(substring-before($conref,'#'),'.')">
+					<xsl:value-of select="substring-before($conref,'#')"/>
+				</xsl:if>
+				<xsl:if test="contains($conref,'#') and not(contains(substring-before($conref,'#'),'.'))">
+					<xsl:value-of select="concat($currentPackage,'.',substring-before($conref,'#'))"/>
+				</xsl:if>
+				<xsl:if test="not(contains($conref,'#'))">
+					<xsl:value-of select="$conref"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="className">
+				<xsl:if test="contains($conref,'#') and contains(substring-before($conref,'#'),'.')">
+					<xsl:call-template name="lastIndexOf">
+						<xsl:with-param name="string" select="$packageClassText"/>
+						<xsl:with-param name="char" select="'.'"/>
+					</xsl:call-template>
+				</xsl:if>
+				<xsl:if test="contains($conref,'#') and not(contains(substring-before($conref,'#'),'.'))">
+					<xsl:if test="string-length(substring-before($conref,'#')) = 0">
+						<xsl:value-of select="ancestor-or-self::apiPackage/apiClassifier/apiName"/>
+					</xsl:if>
+					<xsl:if test="string-length(substring-before($conref,'#')) &gt; 0">
+						<xsl:value-of select="substring-before($conref,'#')"/>
+					</xsl:if>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="destPackageName1">
+				<xsl:value-of select="substring-before($packageClassText,concat('.',$className))"/>
+			</xsl:variable>
+			<xsl:variable name="destPackageName">
+				<xsl:if test="$destPackageName1 = '' or $destPackageName1='__Global__'">
+					<xsl:value-of select="'__Global__.xml'"/>
+				</xsl:if>
+				<xsl:if test="not($destPackageName1='') and not($destPackageName1='__Global__')">
+					<xsl:value-of select="concat($destPackageName1, '.xml')"/>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="entryTypeNameText" select="substring-after($conref,'#')"/>
+			<xsl:variable name="nameToMatch">
+				<xsl:if test="string-length($entryTypeNameText) = 0">
+					<xsl:value-of select="$className"/>
+				</xsl:if>
+				<xsl:if test="contains($entryTypeNameText,':')">
+					<xsl:value-of select="substring-after($entryTypeNameText,':')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($entryTypeNameText,':')) and string-length($entryTypeNameText) &gt; 0">
+					<xsl:if test="contains($entryTypeNameText,')')">
+						<xsl:value-of select="substring-before($entryTypeNameText,'(')"/>
+					</xsl:if>
+					<xsl:if test="not(contains($entryTypeNameText,')'))">
+						<xsl:value-of select="$entryTypeNameText"/>
+					</xsl:if>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:variable name="entryType">
+				<xsl:if test="string-length($entryTypeNameText) = 0">
+					<xsl:value-of select="'class'"/>
+				</xsl:if>
+				<xsl:if test="contains($entryTypeNameText,':')">
+					<xsl:value-of select="substring-before($entryTypeNameText,':')"/>
+				</xsl:if>
+				<xsl:if test="not(contains($entryTypeNameText,':')) and string-length($entryTypeNameText) &gt; 0">
+					<xsl:if test="contains($entryTypeNameText,')')">
+						<xsl:value-of select="'method'"/>
+					</xsl:if>
+					<xsl:if test="not(contains($entryTypeNameText,')'))">
+						<xsl:value-of select="'property'"/>
+					</xsl:if>
+				</xsl:if>
+			</xsl:variable>
+			<xsl:if test="string-length(normalize-space($destPackageName)) = 4">
+				<xsl:message> CAlling class : <xsl:value-of select="ancestor-or-self::apiClassifier/apiName"/> currentpackage : <xsl:value-of select="ancestor-or-self::apiPackage/apiName"/> Entry Type : <xsl:value-of
+						select="$entryType"/> Entry Type Text:		<xsl:value-of select="$entryTypeNameText"/> descriptionType : <xsl:value-of select="$descriptionType"/> Conref : <xsl:value-of select="$conref"
+						/> nameToMatch : <xsl:value-of select="$nameToMatch"/> Class Name : <xsl:value-of select="$className"/>	packageClassText Name : <xsl:value-of select="$packageClassText"
+						/> destPackageName Name : <xsl:value-of select="$destPackageName"/>
+				</xsl:message>
+			</xsl:if>
+			<xsl:for-each select="document(concat($ditaFileDir,$destPackageName))/apiPackage//apiClassifier[apiName=$className]">
+				<xsl:if test="string-length($entryType) &gt; 0">
+					<xsl:choose>
+						<xsl:when test="contains($entryType,'class')">
+							<xsl:choose>
+								<xsl:when test="$descriptionType='shortdesc'">
+									<xsl:if test="./shortdesc[@conref]">
+										<xsl:call-template name="getConRefText">
+											<xsl:with-param name="conref" select="./shortdesc/@conref"/>
+											<xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+										</xsl:call-template>
+									</xsl:if>
+									<xsl:if test="not(./shortdesc[@conref])">
+										<xsl:for-each select="./shortdesc/.">
+											<xsl:if test="$doNotProcessTags">
+												<xsl:value-of select="."/>
+											</xsl:if>
+											<xsl:if test="not ($doNotProcessTags)">
+												<xsl:call-template name="processTags"/>
+											</xsl:if>
+										</xsl:for-each>
+									</xsl:if>
+								</xsl:when>
+								<xsl:when test="$descriptionType='apiDesc'">
+									<xsl:if test="./apiClassifierDetail/apiDesc[@conref]">
+										<xsl:call-template name="getConRefText">
+											<xsl:with-param name="conref" select="./apiClassifierDetail/apiDesc/@conref"/>
+											<xsl:with-param name="descriptionType" select="local-name(./apiClassifierDetail/apiDesc)"/>
+										</xsl:call-template>
+									</xsl:if>
+									<xsl:if test="not(./apiClassifierDetail/apiDesc[@conref])">
+										<xsl:for-each select="./apiClassifierDetail/apiDesc">
+											<xsl:if test="$doNotProcessTags">
+												<xsl:value-of select="."/>
+											</xsl:if>
+											<xsl:if test="not ($doNotProcessTags)">
+												<xsl:call-template name="processTags"/>
+											</xsl:if>
+										</xsl:for-each>
+									</xsl:if>
+								</xsl:when>
+								<xsl:otherwise>
+									<xsl:if test="./description[@conref]">
+										<xsl:call-template name="getConRefText">
+											<xsl:with-param name="conref" select="./description/@conref"/>
+											<xsl:with-param name="descriptionType" select="local-name(./description)"/>
+										</xsl:call-template>
+									</xsl:if>
+									<xsl:if test="not(./description[@conref])">
+										<xsl:for-each select="./description">
+											<xsl:if test="$doNotProcessTags">
+												<xsl:value-of select="."/>
+											</xsl:if>
+											<xsl:if test="not ($doNotProcessTags)">
+												<xsl:call-template name="processTags"/>
+											</xsl:if>
+										</xsl:for-each>
+									</xsl:if>
+								</xsl:otherwise>
+							</xsl:choose>
+						</xsl:when>
+						<xsl:when test="contains($entryType,'style')">
+							<xsl:for-each select="./prolog/asMetadata/styles/style[@name=$nameToMatch]">
+								<xsl:choose>
+									<xsl:when test="$descriptionType='shortdesc'">
+										<xsl:if test="./shortdesc[@conref]">
+											<xsl:call-template name="getConRefText">
+												<xsl:with-param name="conref" select="./shortdesc/@conref"/>
+												<xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+											</xsl:call-template>
+										</xsl:if>
+										<xsl:if test="not(./shortdesc[@conref])">
+											<xsl:for-each select="./shortdesc/.">
+												<xsl:if test="$doNotProcessTags">
+													<xsl:value-of select="."/>
+												</xsl:if>
+												<xsl:if test="not ($doNotProcessTags)">
+													<xsl:call-template name="processTags"/>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+									</xsl:when>
+									<xsl:otherwise>
+										<xsl:if test="./description[@conref]">
+											<xsl:call-template name="getConRefText">
+												<xsl:with-param name="conref" select="./description/@conref"/>
+												<xsl:with-param name="descriptionType" select="local-name(./description)"/>
+											</xsl:call-template>
+										</xsl:if>
+										<xsl:if test="not(./description[@conref])">
+											<xsl:for-each select="./description">
+												<xsl:if test="$doNotProcessTags">
+													<xsl:value-of select="."/>
+												</xsl:if>
+												<xsl:if test="not ($doNotProcessTags)">
+													<xsl:call-template name="processTags"/>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+									</xsl:otherwise>
+								</xsl:choose>
+							</xsl:for-each>
+						</xsl:when>
+						<xsl:when test="contains($entryType,'event')">
+							<xsl:for-each select=".//adobeApiEvent[apiName=$nameToMatch]">
+								<xsl:choose>
+									<xsl:when test="$descriptionType='shortdesc'">
+										<xsl:if test="./shortdesc[@conref]">
+											<xsl:call-template name="getConRefText">
+												<xsl:with-param name="conref" select="./shortdesc/@conref"/>
+												<xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+											</xsl:call-template>
+										</xsl:if>
+										<xsl:if test="not(./shortdesc[@conref])">
+											<xsl:for-each select="./shortdesc/.">
+												<xsl:if test="$doNotProcessTags">
+													<xsl:value-of select="."/>
+												</xsl:if>
+												<xsl:if test="not ($doNotProcessTags)">
+													<xsl:call-template name="processTags"/>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+									</xsl:when>
+									<xsl:otherwise>
+										<xsl:if test="./adobeApiEventDetail/apiDesc[@conref]">
+											<xsl:call-template name="getConRefText">
+												<xsl:with-param name="conref" select="./adobeApiEventDetail/apiDesc/@conref"/>
+												<xsl:with-param name="descriptionType" select="local-name(./adobeApiEventDetail/apiDesc)"/>
+											</xsl:call-template>
+										</xsl:if>
+										<xsl:if test="not(./adobeApiEventDetail/apiDesc[@conref])">
+											<xsl:for-each select="./adobeApiEventDetail/apiDesc">
+												<xsl:if test="$doNotProcessTags">
+													<xsl:value-of select="."/>
+												</xsl:if>
+												<xsl:if test="not ($doNotProcessTags)">
+													<xsl:call-template name="processTags"/>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+									</xsl:otherwise>
+								</xsl:choose>
+							</xsl:for-each>
+						</xsl:when>
+						<xsl:when test="contains($entryType,'method')">
+							<xsl:for-each select="./apiOperation[apiName=$nameToMatch]">
+								<xsl:choose>
+									<xsl:when test="$descriptionType='shortdesc'">
+										<xsl:if test="./shortdesc[@conref]">
+											<xsl:call-template name="getConRefText">
+												<xsl:with-param name="conref" select="./shortdesc/@conref"/>
+												<xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+											</xsl:call-template>
+										</xsl:if>
+										<xsl:if test="not(./shortdesc[@conref])">
+											<xsl:for-each select="./shortdesc/.">
+												<xsl:if test="$doNotProcessTags">
+													<xsl:value-of select="."/>
+												</xsl:if>
+												<xsl:if test="not ($doNotProcessTags)">
+													<xsl:call-template name="processTags"/>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+									</xsl:when>
+									<xsl:otherwise>
+										<xsl:if test="./apiOperationDetail/apiDesc[@conref]">
+											<xsl:call-template name="getConRefText">
+												<xsl:with-param name="conref" select="./apiOperationDetail/apiDesc/@conref"/>
+												<xsl:with-param name="descriptionType" select="local-name(./apiOperationDetail/apiDesc)"/>
+											</xsl:call-template>
+										</xsl:if>
+										<xsl:if test="not(./apiOperationDetail/apiDesc[@conref])">
+											<xsl:for-each select="./apiOperationDetail/apiDesc">
+												<xsl:if test="$doNotProcessTags">
+													<xsl:value-of select="."/>
+												</xsl:if>
+												<xsl:if test="not ($doNotProcessTags)">
+													<xsl:call-template name="processTags"/>
+												</xsl:if>
+											</xsl:for-each>
+										</xsl:if>
+									</xsl:otherwise>
+								</xsl:choose>
+							</xsl:for-each>
+						</xsl:when>
+						<xsl:when test="contains($entryType,'property')">
+							<xsl:choose>
+				                <xsl:when test="count(./apiValue[apiName=$nameToMatch]) &gt; 0">
+				                  <xsl:for-each select="./apiValue[apiName=$nameToMatch]">
+				                    <xsl:choose>
+				                      <xsl:when test="$descriptionType='shortdesc'">
+				                        <xsl:if test="./shortdesc[@conref]">
+				                          <xsl:call-template name="getConRefText">
+				                            <xsl:with-param name="conref" select="./shortdesc/@conref"/>
+				                            <xsl:with-param name="descriptionType" select="local-name(./shortdesc)"/>
+				                          </xsl:call-template>
+				                        </xsl:if>
+				                        <xsl:if test="not(./shortdesc[@conref])">
+				                          <xsl:for-each select="./shortdesc/.">
+				                            <xsl:if test="$doNotProcessTags">
+				                              <xsl:value-of select="."/>
+				                            </xsl:if>
+				                            <xsl:if test="not($doNotProcessTags)">
+				                              <xsl:call-template name="processTags"/>
+				                            </xsl:if>
+				                          </xsl:for-each>
+				                        </xsl:if>
+				                      </xsl:when>
+				                      <xsl:otherwise>
+				                        <xsl:if test="./apiValueDetail/apiDesc[@conref]">
+				                          <xsl:call-template name="getConRefText">
+				                            <xsl:with-param name="conref" select="./apiValueDetail/apiDesc/@conref"/>
+				                            <xsl:with-param name="descriptionType" select="local-name(./apiValueDetail/apiDesc)"/>
+				                          </xsl:call-template>
+				                        </xsl:if>
+				                        <xsl:if test="not(./apiValueDetail/apiDesc[@conref])">
+				                          <xsl:for-each select="./apiValueDetail/apiDesc">
+				                            <xsl:if test="$doNotProcessTags">
+				                              <xsl:value-of select="."/>
+				                            </xsl:if>
+				                            <xsl:if test="not($doNotProcessTags)">
+				                              <xsl:call-template name="processTags"/>
+				                            </xsl:if>
+				                          </xsl:for-each>
+				                        </xsl:if>
+				                      </xsl:otherwise>
+				                    </xsl:choose>
+				                  </xsl:for-each>                  
+				                </xsl:when>
+				                <xsl:when test="count(./prolog/asMetadata/skinParts/SkinPart[@name=$nameToMatch]) &gt; 0">

[... 2271 lines stripped ...]


Mime
View raw message