diff options
author | mikl <> | 2008-05-06 07:53:08 +0000 |
---|---|---|
committer | mikl <> | 2008-05-06 07:53:08 +0000 |
commit | dca8960e21273ed8100fa1fdaeab99ccf141a1f3 (patch) | |
tree | 0ae31ef7461dd60686d7e23dcb64ff68bb11ed14 /buildscripts/jGrouseDoc/skins/noframes/xslt | |
parent | d48e9af1650df7cc17db5042c0b9dc1a3bcf213b (diff) |
Imported JS documentor jGrouseDoc-2.0
Diffstat (limited to 'buildscripts/jGrouseDoc/skins/noframes/xslt')
6 files changed, 1089 insertions, 0 deletions
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/antgen.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/antgen.xslt new file mode 100644 index 00000000..6a9e656b --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/antgen.xslt @@ -0,0 +1,357 @@ +<!--
+ jGrouseDoc template file. Creates ant file that renders all documentation
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: antgen.xslt 331 2008-01-08 02:11:41Z denis.riabtchik $
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:output method="XML"/>
+ <xsl:param name="projectName"/>
+ <xsl:param name="projectDesc"/>
+ <xsl:param name="jGrouseHome"/>
+ <xsl:param name="projectFile"/>
+ <xsl:param name="outDir"/>
+ <xsl:param name="version"/>
+ <xsl:param name="useFullNames">true</xsl:param>
+ <xsl:param name="css"><xsl:value-of select="$jGrouseHome"/>/skins/noframes/css/jgdoc.css</xsl:param>
+ <xsl:param name='aux_css'>not_specified</xsl:param>
+ <xsl:param name="skinDir">not_specified</xsl:param>
+
+ <xsl:variable name="commonSkin"><xsl:value-of select="$jGrouseHome"/>/skins/common</xsl:variable>
+
+ <xsl:template name="dotdot">
+ <xsl:param name="arg"/>
+ <xsl:param name="sep"/>
+ <xsl:param name="firstPart" select="substring-before($arg, $sep)"/>
+ <xsl:param name="lastPart" select="substring-after($arg, $sep)"/>
+ <xsl:if test="string-length($firstPart) != 0">../</xsl:if>
+ <xsl:if test="string-length($lastPart) != 0"><xsl:call-template name="dotdot">
+ <xsl:with-param name="arg" select="$lastPart"/>
+ <xsl:with-param name="sep" select="$sep"/>
+ </xsl:call-template></xsl:if>
+ </xsl:template>
+
+
+
+ <xsl:template match="/">
+ <xsl:variable name="_projectName">
+ <xsl:choose>
+ <xsl:when test="count(/jgdoc/project/comment/name) != 0">
+ <xsl:value-of select="normalize-space(/jgdoc/project/comment/name)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$projectName"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="_version">
+ <xsl:choose>
+ <xsl:when test="count(/jgdoc/project/comment/version/tagContent/content) != 0">
+ <xsl:value-of select="normalize-space(/jgdoc/project/comment/version/tagContent/content)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$version"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="_projectDesc">
+ <xsl:choose>
+ <xsl:when test="count(/jgdoc/project/comment/description/tagContent/content) != 0">
+ <xsl:value-of select="normalize-space(/jgdoc/project/comment/description/tagContent/content)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$projectDesc"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:comment>Documentation build file for <xsl:value-of select="projectName"/>. Generated by jGrouseDoc</xsl:comment>
+ <xsl:element name="project">
+ <xsl:attribute name="name"><xsl:value-of select="$_projectName"/></xsl:attribute>
+ <xsl:attribute name="default">applyJGrouseDoc</xsl:attribute>
+ <xsl:element name="target">
+ <xsl:attribute name="name">applyJGrouseDoc</xsl:attribute>
+ <!-- copy CSS file -->
+ <xsl:element name="copy">
+ <xsl:attribute name="todir"><xsl:value-of select="$outDir"/></xsl:attribute>
+ <xsl:attribute name="overwrite">yes</xsl:attribute>
+ <xsl:element name="fileset">
+ <xsl:attribute name="dir"><xsl:value-of select="$commonSkin"/>/css</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ <xsl:element name="copy">
+ <xsl:attribute name="todir"><xsl:value-of select="$outDir"/></xsl:attribute>
+ <xsl:attribute name="overwrite">yes</xsl:attribute>
+ <xsl:element name="fileset">
+ <xsl:attribute name="dir"><xsl:value-of select="$skinDir"/>/css</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ <!--
+ <xsl:element name="copy">
+ <xsl:attribute name="file"><xsl:value-of select="$css"/></xsl:attribute>
+ <xsl:attribute name="tofile"><xsl:value-of select='$outDir'/>/jgdoc.css</xsl:attribute>
+ <xsl:attribute name="overwrite">yes</xsl:attribute>
+ </xsl:element>
+ -->
+ <xsl:element name="copy">
+ <xsl:attribute name="todir"><xsl:value-of select="$outDir"/></xsl:attribute>
+ <xsl:element name="fileset">
+ <xsl:attribute name="dir"><xsl:value-of select="$commonSkin"/>/img</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ <xsl:element name="copy">
+ <xsl:attribute name="todir"><xsl:value-of select="$outDir"/></xsl:attribute>
+ <xsl:element name="fileset">
+ <xsl:attribute name="dir"><xsl:value-of select="$skinDir"/>/img</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+
+ <!-- copy JS file -->
+ <xsl:element name="copy">
+ <xsl:attribute name="todir"><xsl:value-of select='$outDir'/></xsl:attribute>
+ <xsl:element name="fileset">
+ <xsl:attribute name="dir"><xsl:value-of select="$skinDir"/>/js</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+
+ <!-- create main file -->
+ <xsl:element name="xslt">
+ <xsl:attribute name="style"><xsl:value-of select="$skinDir"/>/xslt/startup.xslt</xsl:attribute>
+ <xsl:attribute name="in"><xsl:value-of select='$outDir'/>/<xsl:value-of select="$projectFile"/></xsl:attribute>
+ <xsl:attribute name="out"><xsl:value-of select='$outDir'/>/index.html</xsl:attribute>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectName</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectName"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectDesc</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectDesc"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">version</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_version"/></xsl:attribute>
+ </xsl:element>
+ <xsl:if test="$aux_css != 'not_specified'">
+ <xsl:element name="param">
+ <xsl:attribute name="name">aux_css</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$aux_css"/></xsl:attribute>
+ </xsl:element>
+ </xsl:if>
+ </xsl:element>
+ <!-- =========== javascript index ================= -->
+ <xsl:element name="xslt">
+ <xsl:attribute name="style"><xsl:value-of select="$skinDir"/>/xslt/jsindex.xslt</xsl:attribute>
+ <xsl:attribute name="in"><xsl:value-of select='$outDir'/>/<xsl:value-of select="$projectFile"/></xsl:attribute>
+ <xsl:attribute name="out"><xsl:value-of select='$outDir'/>/jsindex.js</xsl:attribute>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectName</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectName"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectDesc</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectDesc"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">version</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_version"/></xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ <!-- ============ logical stuff ================= -->
+ <xsl:element name="fastxslt">
+ <xsl:attribute name="template"><xsl:value-of select="$skinDir"/>/xslt/detail.xslt</xsl:attribute>
+ <xsl:attribute name="source"><xsl:value-of select='$outDir'/>/<xsl:value-of select="$projectFile"/></xsl:attribute>
+ <xsl:element name="param">
+ <xsl:attribute name="key">version</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="$_version"/></xsl:attribute>
+ </xsl:element>
+ <xsl:if test="$aux_css != 'not_specified'">
+ <xsl:element name="param">
+ <xsl:attribute name="key">aux_css</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="$aux_css"/></xsl:attribute>
+ </xsl:element>
+ </xsl:if>
+ <xsl:element name="param">
+ <xsl:attribute name="key">projectName</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="$_projectName"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">projectDesc</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="$_projectDesc"/></xsl:attribute>
+ </xsl:element>
+
+ <xsl:for-each select="/jgdoc/items/*[@elementType='logical_container']">
+ <xsl:element name="output">
+ <xsl:attribute name="file"><xsl:value-of select='$outDir'/>/logical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:element name="param">
+ <xsl:attribute name="key">objectName</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="@id"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">rootPath</xsl:attribute>
+ <xsl:attribute name="value"></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">navSection</xsl:attribute>
+ <xsl:attribute name="value">logical</xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">trueRootPath</xsl:attribute>
+ <xsl:attribute name="value">../<xsl:call-template name="dotdot">
+ <xsl:with-param name="arg" select="comment/name" />
+ <xsl:with-param name="sep" select="'.'"/>
+ </xsl:call-template></xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ </xsl:for-each>
+
+ <xsl:for-each select="/jgdoc/items/file">
+ <xsl:element name="output">
+ <xsl:attribute name="file"><xsl:value-of select='$outDir'/>/physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:element name="param">
+ <xsl:attribute name="key">objectName</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="@id"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">rootPath</xsl:attribute>
+ <xsl:attribute name="value"></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">navSection</xsl:attribute>
+ <xsl:attribute name="value">file</xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">trueRootPath</xsl:attribute>
+ <xsl:attribute name="value">../<xsl:call-template name="dotdot">
+ <xsl:with-param name="arg" select="comment/name" />
+ <xsl:with-param name="sep" select="'/'"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ </xsl:for-each>
+ <xsl:for-each select="/jgdoc/items/module">
+ <xsl:element name="output">
+ <xsl:attribute name="file"><xsl:value-of select='$outDir'/>/physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:element name="param">
+ <xsl:attribute name="key">objectName</xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="@id"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">rootPath</xsl:attribute>
+ <xsl:attribute name="value"></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">navSection</xsl:attribute>
+ <xsl:attribute name="value">module</xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="key">trueRootPath</xsl:attribute>
+ <xsl:attribute name="value">../<xsl:call-template name="dotdot">
+ <xsl:with-param name="arg" select="comment/name" />
+ <xsl:with-param name="sep" select="'.'"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ </xsl:for-each>
+ </xsl:element>
+
+
+ <!--
+ <xsl:for-each select="/jgdoc/items/file">
+ <xsl:element name="xslt">
+ <xsl:attribute name="style"><xsl:value-of select="$skinDir"/>/xslt/detail.xslt</xsl:attribute>
+ <xsl:attribute name="in"><xsl:value-of select='$outDir'/>/<xsl:value-of select="$projectFile"/></xsl:attribute>
+ <xsl:attribute name="out"><xsl:value-of select='$outDir'/>/physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+
+ <xsl:element name="param">
+ <xsl:attribute name="name">objectName</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="@id"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">rootPath</xsl:attribute>
+ <xsl:attribute name="expression"></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">trueRootPath</xsl:attribute>
+ <xsl:attribute name="expression">../<xsl:call-template name="dotdot">
+ <xsl:with-param name="arg" select="comment/name" />
+ <xsl:with-param name="sep" select="'/'"/>
+ </xsl:call-template></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">version</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_version"/></xsl:attribute>
+ </xsl:element>
+ <xsl:if test="$aux_css != 'not_specified'">
+ <xsl:element name="param">
+ <xsl:attribute name="name">aux_css</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$aux_css"/></xsl:attribute>
+ </xsl:element>
+ </xsl:if>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectName</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectName"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectDesc</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectDesc"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">navSection</xsl:attribute>
+ <xsl:attribute name="expression">file</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ </xsl:for-each>
+
+ <xsl:for-each select="/jgdoc/items/module">
+ <xsl:element name="xslt">
+ <xsl:attribute name="style"><xsl:value-of select="$skinDir"/>/xslt/detail.xslt</xsl:attribute>
+ <xsl:attribute name="in"><xsl:value-of select='$outDir'/>/<xsl:value-of select="$projectFile"/></xsl:attribute>
+ <xsl:attribute name="out"><xsl:value-of select='$outDir'/>/physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+
+ <xsl:element name="param">
+ <xsl:attribute name="name">objectName</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="@id"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">rootPath</xsl:attribute>
+ <xsl:attribute name="expression"></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">trueRootPath</xsl:attribute>
+ <xsl:attribute name="expression">../<xsl:call-template name="dotdot">
+ <xsl:with-param name="arg" select="comment/name" />
+ <xsl:with-param name="sep" select="'.'"/>
+ </xsl:call-template></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">version</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_version"/></xsl:attribute>
+ </xsl:element>
+ <xsl:if test="$aux_css != 'not_specified'">
+ <xsl:element name="param">
+ <xsl:attribute name="name">aux_css</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$aux_css"/></xsl:attribute>
+ </xsl:element>
+ </xsl:if>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectName</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectName"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">projectDesc</xsl:attribute>
+ <xsl:attribute name="expression"><xsl:value-of select="$_projectDesc"/></xsl:attribute>
+ </xsl:element>
+ <xsl:element name="param">
+ <xsl:attribute name="name">navSection</xsl:attribute>
+ <xsl:attribute name="expression">module</xsl:attribute>
+ </xsl:element>
+ </xsl:element>
+ </xsl:for-each>
+ -->
+
+ </xsl:element>
+ </xsl:element>
+
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/detail.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/detail.xslt new file mode 100644 index 00000000..b5fc4ca1 --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/detail.xslt @@ -0,0 +1,360 @@ +<!--
+ jGrouseDoc template file.
+ Creates content for top-left frame with all namespaces
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: detail.xslt 339 2008-01-21 00:21:30Z denis.riabtchik $
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:param name='rootPath' />
+ <xsl:param name='trueRootPath' />
+ <xsl:param name="projectDesc"/>
+ <xsl:param name="projectName"/>
+ <xsl:param name='version'/>
+ <xsl:param name='objectName' />
+ <xsl:param name='aux_css'>not_specified</xsl:param>
+ <xsl:param name="navSection"/>
+
+ <xsl:output method='HTML' doctype-public="-//W3C//DTD HTML 4.01//EN"
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd">
+
+ </xsl:output>
+ <xsl:import href="../../common/xslt/common.xslt"/>
+ <xsl:import href="nfcommon.xslt"/>
+
+
+ <xsl:template match="/jgdoc/items/*">
+ <xsl:variable name="objType"><xsl:value-of select="name()"/></xsl:variable>
+ <div>
+ <xsl:apply-templates select="comment/srcUrl" mode="writeDetails1"/>
+ <H2>
+ <span class="objType">
+ <xsl:choose>
+ <xsl:when test="$objType = 'namespace'">Namespace </xsl:when>
+ <xsl:when test="$objType = 'class'">Class </xsl:when>
+ <xsl:when test="$objType = 'struct'">Structure </xsl:when>
+ <xsl:when test="$objType = 'interface'">Interface </xsl:when>
+ <xsl:when test="$objType = 'object'">Object </xsl:when>
+ </xsl:choose>
+ </span>
+ <xsl:value-of
+ select="comment/name" />
+ </H2>
+ <xsl:if test="($objType = 'class') or ($objType = 'interface')">
+ <xsl:if test="count(comment/extends) > 0">
+ <div class="extends">
+ <span class="descSection">Extends </span>
+ <xsl:for-each select="comment/extends/tagContent">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="content"/>
+ </xsl:for-each>
+ </div>
+ </xsl:if>
+ </xsl:if>
+ <xsl:if test="($objType = 'class')">
+ <xsl:if test="count(comment/implements) > 0">
+ <div class="implements">
+ <span class="descSection">Implements </span>
+ <xsl:for-each select="comment/implements/tagContent">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="content"/>
+ </xsl:for-each>
+ </div>
+ </xsl:if>
+ </xsl:if>
+
+ <xsl:if test="count(/jgdoc/items/*[(name() = 'class' or name() = 'interface') and comment/extends/tagContent[@name=$objectName]]) != 0">
+ <div class="subclasses">
+ <div class="descSection">
+ <xsl:if test="name() = 'class'">Direct Known Subclasses:</xsl:if>
+ <xsl:if test="name() = 'interface'">All Known Subinterfaces:</xsl:if>
+ </div>
+ <div class="paddedDetails">
+ <xsl:for-each select="/jgdoc/items/*[comment/extends/tagContent[@name=$objectName]]">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:call-template name="writeLink">
+ <xsl:with-param name="refName"><xsl:value-of select="@id"/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:attribute>
+ <span><xsl:value-of select="@id"/></span>
+ </xsl:element>
+ </xsl:for-each>
+ </div>
+ </div>
+ </xsl:if>
+
+ <xsl:if test="count(/jgdoc/items/class[comment/implements/tagContent[@name=$objectName]]) != 0">
+ <div>
+ <div>
+ All Known Implementing Classes:
+ </div>
+ <div>
+ <xsl:for-each select="/jgdoc/items/class[comment/implements/tagContent[@name=$objectName]]">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:call-template name="writeLink">
+ <xsl:with-param name="refName"><xsl:value-of select="@id"/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:attribute>
+ <span><xsl:value-of select="@id"/></span>
+ </xsl:element>
+ </xsl:for-each>
+ </div>
+ </div>
+ </xsl:if>
+
+
+ <hr/>
+ <!-- description -->
+ <div>
+ <code>
+ <span class="modifiers"><xsl:value-of select="comment/modifiers/@name"/></span>
+ <xsl:text> </xsl:text>
+ <span class="objType"><xsl:value-of select="$objType"/></span>
+ <xsl:text> </xsl:text>
+ <b><xsl:value-of select="comment/name"/></b>
+ </code>
+ </div>
+ <xsl:for-each
+ select='comment/commentContent/content'>
+ <div class="comment">
+ <xsl:apply-templates select='.'/>
+ </div>
+ </xsl:for-each>
+ <xsl:apply-templates select="comment" mode="genCommonAttrs" />
+ <xsl:for-each select="/jgdoc/items/*[@id=$objectName and @physOwner != '']">
+ <span class="definedIn">Defined in </span>
+ <xsl:element name='a'>
+ <xsl:attribute name='href'>
+ <xsl:value-of select="$rootPath"/>physical/<xsl:value-of select="/jgdoc/items/*[@id=/jgdoc/items/*[@id=$objectName]/@physOwner]/@path"/>.html</xsl:attribute>
+ <xsl:value-of select='/jgdoc/items/*[@id=/jgdoc/items/*[@id=$objectName]/@physOwner]/comment/name'/>
+ </xsl:element>
+ </xsl:for-each>
+ <hr/>
+ <p />
+
+ <xsl:variable name="nested"><xsl:if test="@elementType = 'logical_container' and name() != 'namespace'">Nested</xsl:if></xsl:variable>
+
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">class</xsl:with-param>
+ <xsl:with-param name="elementName"><xsl:value-of select="$nested"/> Class</xsl:with-param>
+ </xsl:apply-templates>
+
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">interface</xsl:with-param>
+ <xsl:with-param name="elementName"><xsl:value-of select="$nested"/> Interface</xsl:with-param>
+ </xsl:apply-templates>
+
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">object</xsl:with-param>
+ <xsl:with-param name="elementName"><xsl:value-of select="$nested"/> Object</xsl:with-param>
+ </xsl:apply-templates>
+
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">struct</xsl:with-param>
+ <xsl:with-param name="elementName"><xsl:value-of select="$nested"/> Structure</xsl:with-param>
+ </xsl:apply-templates>
+
+
+ <!-- Variables -->
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">variable</xsl:with-param>
+ <xsl:with-param name="elementName">Variable</xsl:with-param>
+ </xsl:apply-templates>
+
+
+ <xsl:apply-templates select="legacies" mode="inheritance">
+ <xsl:with-param name="memberName">Variables</xsl:with-param>
+ <xsl:with-param name="memberType">variable</xsl:with-param>
+ </xsl:apply-templates>
+
+
+ <!-- properties -->
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">property</xsl:with-param>
+ <xsl:with-param name="elementName">Property</xsl:with-param>
+ </xsl:apply-templates>
+
+
+ <xsl:apply-templates select="legacies" mode="inheritance">
+ <xsl:with-param name="memberName">Properties</xsl:with-param>
+ <xsl:with-param name="memberType">property</xsl:with-param>
+ </xsl:apply-templates>
+
+
+
+ <!-- Constructors -->
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">constructor</xsl:with-param>
+ <xsl:with-param name="elementName">Constructor</xsl:with-param>
+ </xsl:apply-templates>
+
+ <!-- Functions -->
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">function</xsl:with-param>
+ <xsl:with-param name="elementName">Function</xsl:with-param>
+ </xsl:apply-templates>
+
+ <!-- Events -->
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">event</xsl:with-param>
+ <xsl:with-param name="elementName">Event</xsl:with-param>
+ </xsl:apply-templates>
+
+ <xsl:apply-templates select="legacies" mode="inheritance">
+ <xsl:with-param name="memberName">Functions</xsl:with-param>
+ <xsl:with-param name="memberType">function</xsl:with-param>
+ </xsl:apply-templates>
+
+
+ <!-- Function interfaces -->
+ <xsl:apply-templates select="children" mode="writeSummary">
+ <xsl:with-param name="elementType">ifunction</xsl:with-param>
+ <xsl:with-param name="elementName">Function Interface</xsl:with-param>
+ </xsl:apply-templates>
+
+ <!-- ============== Details coming here =================== -->
+
+ <!-- variables -->
+ <xsl:call-template name="writeDetails">
+ <xsl:with-param name="memberName">Variable</xsl:with-param>
+ <xsl:with-param name="memberType">variable</xsl:with-param>
+ <xsl:with-param name="objectName"><xsl:value-of select="$objectName"/></xsl:with-param>
+ </xsl:call-template>
+
+ <!-- properties -->
+ <xsl:call-template name="writeDetails">
+ <xsl:with-param name="memberName">Property</xsl:with-param>
+ <xsl:with-param name="memberType">property</xsl:with-param>
+ <xsl:with-param name="objectName"><xsl:value-of select="$objectName"/></xsl:with-param>
+ </xsl:call-template>
+
+
+ <!-- constructors -->
+ <xsl:call-template name="writeDetails">
+ <xsl:with-param name="memberName">Constructor</xsl:with-param>
+ <xsl:with-param name="memberType">constructor</xsl:with-param>
+ <xsl:with-param name="objectName"><xsl:value-of select="$objectName"/></xsl:with-param>
+ </xsl:call-template>
+
+ <!-- functions -->
+ <xsl:call-template name="writeDetails">
+ <xsl:with-param name="memberName">Function</xsl:with-param>
+ <xsl:with-param name="memberType">function</xsl:with-param>
+ <xsl:with-param name="objectName"><xsl:value-of select="$objectName"/></xsl:with-param>
+ </xsl:call-template>
+
+ <!-- events -->
+ <xsl:call-template name="writeDetails">
+ <xsl:with-param name="memberName">Event</xsl:with-param>
+ <xsl:with-param name="memberType">event</xsl:with-param>
+ <xsl:with-param name="objectName"><xsl:value-of select="$objectName"/></xsl:with-param>
+ </xsl:call-template>
+
+ <!-- function interfaces -->
+ <xsl:call-template name="writeDetails">
+ <xsl:with-param name="memberName">Function Interface</xsl:with-param>
+ <xsl:with-param name="memberType">ifunction</xsl:with-param>
+ <xsl:with-param name="objectName"><xsl:value-of select="$objectName"/></xsl:with-param>
+ </xsl:call-template>
+ </div>
+ </xsl:template>
+
+
+ <xsl:template match="/">
+ <xsl:comment>Generated by jGrouseDoc</xsl:comment>
+ <html>
+ <head>
+ <title><xsl:value-of select="$projectName"/></title>
+ <script>
+
+ (function()
+ {
+ var loc = window.location.protocol + '//' + window.location.hostname + window.location.pathname;
+ loc = loc.split('\\');
+ loc = loc.join('/');
+ loc = loc.split('/');
+ loc.pop();
+ loc = loc.join('/');
+ loc += '/' + '<xsl:value-of select="$trueRootPath"/>';
+
+ document.write("<base href='" + loc + "'></base>");
+ })();
+
+ </script>
+
+ <xsl:call-template name="writeCss">
+ <xsl:with-param name="rootPath"></xsl:with-param>
+ <xsl:with-param name="aux_css"><xsl:value-of select="$aux_css"/></xsl:with-param>
+ </xsl:call-template>
+ <script type="text/javascript" src="navTree.js"></script>
+ <script type="text/javascript" src="jgdoc.js"></script>
+ </head>
+ <body>
+ <div class="startup" id="startup">
+ <div class="banner" id="banner">
+ <h1 class="projectName">
+ <xsl:element name="a">
+ <xsl:attribute name="href">.</xsl:attribute>
+ <xsl:value-of select="$projectName"/>
+ </xsl:element>
+ </h1>
+ <div class="bar">
+ version <xsl:value-of select="$version"/>
+ </div>
+ </div>
+ <div class="content" id="docContent">
+ <div class="block">
+ <div id="searchBlock">
+ <div class="search" >
+ <div class="searchLabel">Search:</div>
+ <div class="searchBlock" style="height:100%">
+ <input id="jgsSearchString" type="text" size="60" class="jgdSearchString"/>
+ <div id="jgsSearchPanel" class="jgsSearchPanel" style="display:none">
+ <div class="jgdSearchRect" >
+ <div id="jgsSearchResults">
+ Loading....
+ </div>
+ </div>
+ <div id="jgsInfo" class="jgsInfo" >No selection</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div id="docScroll" class="docScroll">
+ <div>
+ <hr/>
+ <xsl:apply-templates select="/jgdoc/items/*[@id=$objectName]"/>
+ </div>
+ </div>
+ </div>
+ </div>
+ <xsl:call-template name="navigationPane">
+ <xsl:with-param name="elementType"><xsl:value-of select="$navSection"/></xsl:with-param>
+ </xsl:call-template>
+ </div>
+ </body>
+ <script type="text/javascript">
+ jgdoc.Searcher.start();
+ jgdoc.NavTree.initialize('<xsl:value-of select="$objectName"/>');
+ </script>
+ <script type="text/javascript" src="jsindex.js">
+ </script>
+ </html>
+ </xsl:template>
+
+
+
+</xsl:stylesheet>
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/jgsearch.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/jgsearch.xslt new file mode 100644 index 00000000..a8766ff0 --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/jgsearch.xslt @@ -0,0 +1,51 @@ +<!--
+ jGrouseDoc template file. Renders search pane
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: jgsearch.xslt 276 2007-12-09 00:50:40Z denis.riabtchik $
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:param name='rootPath' />
+ <xsl:param name="projectDesc"/>
+ <xsl:param name='version'/>
+ <xsl:param name='aux_css'>not_specified</xsl:param>
+
+ <xsl:output method='HTML' doctype-public="-//W3C//DTD HTML 4.01//EN"
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd">
+
+ </xsl:output>
+ <xsl:import href="../../common/xslt/common.xslt"/>
+
+ <xsl:template match="/">
+ <xsl:comment>Generated by jGrouseDoc</xsl:comment>
+
+ <html>
+ <head>
+ <xsl:call-template name="writeCss">
+ <xsl:with-param name="rootPath"><xsl:value-of select="$rootPath"/></xsl:with-param>
+ <xsl:with-param name="aux_css"><xsl:value-of select="$aux_css"/></xsl:with-param>
+ </xsl:call-template>
+ <script type="text/javascript" src="jgdoc.js">
+ </script>
+ </head>
+ <body>
+ <div class="search">
+ <h1>Search</h1>
+ <input id="jgsSearchString" type="text" class="jgdSearchString"/>
+ <div class="jgdSearchRect" >
+ <div id="jgsSearchResults">
+ Loading....
+ </div>
+ </div>
+ <div id="jgsInfo" class="jgsInfo" ></div>
+ </div>
+ </body>
+ <script type="text/javascript">
+ jgdoc.Searcher.start();
+ </script>
+ <script type="text/javascript" src="jsindex.js">
+ </script>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/jsindex.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/jsindex.xslt new file mode 100644 index 00000000..bddc7a42 --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/jsindex.xslt @@ -0,0 +1,124 @@ +<!--
+ jGrouseDoc template file. Creates Javascript index
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: jsindex.xslt 276 2007-12-09 00:50:40Z denis.riabtchik $
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:param name='fileName' />
+ <xsl:param name='rootPath' />
+ <xsl:param name='version'/>
+ <xsl:param name='aux_css'>not_specified</xsl:param>
+
+ <xsl:output method='text'>
+ </xsl:output>
+ <xsl:import href="../../common/xslt/common.xslt"/>
+
+ <xsl:template match="function|constructor|ifunction|event" mode="JSwriteSummary">
+ <xsl:choose>
+ <xsl:when test="count(comment/inheritdesc) != 0">
+ <xsl:variable name="fn"><xsl:value-of select="comment/inheritdesc/tagContent/@name"/></xsl:variable>
+ <xsl:apply-templates select="/jgdoc/items/*[@id=$fn]" mode="JSwriteFuncSummary1">
+ <xsl:with-param name="origName"><xsl:value-of select="@id"/></xsl:with-param>
+ <xsl:with-param name="modifiers"><xsl:value-of select="comment/modifiers/@name"/></xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="JSwriteFuncSummary1">
+ <xsl:with-param name="origName"><xsl:value-of select="@id"/></xsl:with-param>
+ <xsl:with-param name="modifiers"><xsl:value-of select="comment/modifiers/@name"/></xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="function|constructor|ifunction|event" mode="JSwriteFuncSummary1">
+ <xsl:param name="origName"/>
+ <xsl:param name="modifiers"/>
+ <xsl:value-of select="name()"/><xsl:text> </xsl:text>
+ <xsl:choose>
+ <xsl:when test="count(comment/paramSet) != 0">
+ <xsl:for-each select="comment/paramSet"><xsl:if test="position() != 1"><xsl:text>\n</xsl:text></xsl:if><xsl:if test="string-length($modifiers) != 0">
+ <xsl:value-of select="$modifiers"/><xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:if test="count(../../comment/type) != 0">
+ <xsl:apply-templates select="../../comment/type"/>
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="../../@localName"/>
+ <xsl:call-template name="writeFunctionParams">
+ <xsl:with-param name="funcName"><xsl:value-of select="../../@id"/></xsl:with-param>
+ <xsl:with-param name="paramSetCount"><xsl:value-of select="position()"/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="string-length($modifiers) != 0">
+ <xsl:value-of select="$modifiers"/>
+ <xsl:text> </xsl:text></xsl:if>
+ <xsl:if test="count(comment/type) != 0">
+ <xsl:apply-templates select="comment/type"/>
+ <xsl:text> </xsl:text></xsl:if><xsl:value-of select="@localName"/>()</xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="class|namespace|struct|interface|object" mode="JSwriteSummary">
+ <xsl:if test="count(comment/modifiers) != 0"><xsl:value-of select="comment/modifiers/@name"/><xsl:text> </xsl:text></xsl:if>
+ <xsl:value-of select="name()"/><xsl:text> </xsl:text>
+ <xsl:value-of select="@localName"/>
+ </xsl:template>
+
+
+ <xsl:template match="variable|property" mode="JSwriteSummary">
+ <xsl:choose>
+ <xsl:when test="count(comment/inheritdesc) != 0">
+ <xsl:variable name="fn"><xsl:value-of select="comment/inheritdesc/tagContent/@name"/></xsl:variable>
+ <xsl:apply-templates select="/jgdoc/items/*[@id=$fn]" mode="JSwriteVarSummary1">
+ <xsl:with-param name="origName"><xsl:value-of select="@id"/></xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="JSwriteVarSummary1">
+ <xsl:with-param name="origName"><xsl:value-of select="@id"/></xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="variable|property" mode="JSwriteVarSummary1">
+ <xsl:param name="origName"/>
+ <xsl:value-of select="name()"/><xsl:text> </xsl:text>
+ <xsl:if test="count(comment/type) != 0">
+ <xsl:apply-templates select="comment/type"/>
+ <xsl:text> </xsl:text></xsl:if>
+ <xsl:value-of select="@localName" />
+ </xsl:template>
+
+
+
+ <xsl:template match="/">
+/*Generated by jGrouseDoc*/
+(function()
+{
+ var data = [<xsl:for-each select="/jgdoc/items/*[@elementType != 'phys_container']//comment"><xsl:sort select="@localName"/><xsl:if test="position() != 1">,</xsl:if>
+ <xsl:call-template name="writeJS"/>
+ </xsl:for-each>];
+ jgdoc.setData(data);
+
+})()
+ </xsl:template>
+
+ <xsl:template name="writeJS">
+ {
+ localName : "<xsl:value-of select="../@localName"/>",
+ fullName : "<xsl:value-of select="../@id"/>",
+ summary : "<xsl:apply-templates select=".." mode="JSwriteSummary"/>",
+ ref : "<xsl:call-template name="writeLink"><xsl:with-param name="refName"><xsl:value-of select="../@id"/></xsl:with-param></xsl:call-template>",
+ parent : "<xsl:value-of select="../@parentName"/>",
+ type : "<xsl:value-of select="name(..)"/>",
+ elementType : "<xsl:value-of select="../@elementType"/>"
+
+ }
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt new file mode 100644 index 00000000..16759432 --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt @@ -0,0 +1,98 @@ +<!--
+ jGrouseDoc template file. Renders search pane
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: nfcommon.xslt 276 2007-12-09 00:50:40Z denis.riabtchik $
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:template name="navigationPane">
+ <xsl:param name="elementType"/>
+ <div class="navigation" id="navigation">
+ <xsl:element name="ul">
+ <xsl:if test="$elementType = 'logical'">
+ <xsl:attribute name="class">navContent</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$elementType != 'logical'">
+ <xsl:attribute name="class">navContent closed</xsl:attribute>
+ </xsl:if>
+ <li>
+ <div class="navTree">
+ <h2 onclick="jgdoc.NavPanel.clicked(event)">
+ <a href="javascript:jgdoc.NavPanel.dummy()">Navigation</a></h2>
+ <ul class="navContent2">
+ <li>
+ <div>
+ <a class="openAll" href="javascript:jgdoc.NavTree.onOpenAll()">Open All</a>
+ <a class="closeAll" href="javascript:jgdoc.NavTree.onCloseAll()">Close All</a>
+ </div>
+
+ <div>
+ <ul id = "content" class="contents">
+ Loading...
+ </ul>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </xsl:element>
+ <xsl:element name="ul">
+ <xsl:if test="$elementType = 'file'">
+ <xsl:attribute name="class">navContent</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$elementType != 'file'">
+ <xsl:attribute name="class">navContent closed</xsl:attribute>
+ </xsl:if>
+ <li>
+ <div class="fileTree">
+ <h2 onclick="jgdoc.NavPanel.clicked(event)">
+ <a href="javascript:jgdoc.NavPanel.dummy()">Files</a></h2>
+ <ul class="navContent2">
+ <li>
+ <xsl:for-each select="/jgdoc/items/file[@isModuleFile='false']">
+ <xsl:sort select="@id"/>
+ <div>
+ <xsl:element name="a">
+ <xsl:attribute name="href">physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:value-of select="comment/name"/>
+ </xsl:element>
+ </div>
+ </xsl:for-each>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </xsl:element>
+ <xsl:element name="ul">
+ <xsl:if test="$elementType = 'module'">
+ <xsl:attribute name="class">navContent</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$elementType != 'module'">
+ <xsl:attribute name="class">navContent closed</xsl:attribute>
+ </xsl:if>
+ <li>
+ <div class="moduleTree">
+ <h2 onclick="jgdoc.NavPanel.clicked(event)">
+ <a href="javascript:jgdoc.NavPanel.dummy()">Modules</a></h2>
+ <ul class="navContent2">
+ <li>
+ <xsl:for-each select="/jgdoc/items/module">
+ <xsl:sort select="@id"/>
+ <div>
+ <xsl:element name="a">
+ <xsl:attribute name="href">physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:value-of select="comment/name"/>
+ </xsl:element>
+ </div>
+ </xsl:for-each>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </xsl:element>
+ </div>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/startup.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/startup.xslt new file mode 100644 index 00000000..f751561a --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/startup.xslt @@ -0,0 +1,99 @@ +<!--
+ jGrouseDoc template file.
+ Creates content for top-left frame with all namespaces
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: startup.xslt 276 2007-12-09 00:50:40Z denis.riabtchik $
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:param name='rootPath' />
+ <xsl:param name="projectDesc"/>
+ <xsl:param name="projectName"/>
+ <xsl:param name='version'/>
+ <xsl:param name='aux_css'>not_specified</xsl:param>
+
+ <xsl:output method='HTML' doctype-public="-//W3C//DTD HTML 4.01//EN"
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd">
+
+ </xsl:output>
+ <xsl:import href="../../common/xslt/common.xslt"/>
+ <xsl:import href="nfcommon.xslt"/>
+
+ <xsl:template match="/">
+ <xsl:comment>Generated by jGrouseDoc</xsl:comment>
+ <html>
+ <head>
+ <xsl:call-template name="writeCss">
+ <xsl:with-param name="rootPath"><xsl:value-of select="$rootPath"/></xsl:with-param>
+ <xsl:with-param name="aux_css"><xsl:value-of select="$aux_css"/></xsl:with-param>
+ </xsl:call-template>
+ <script type="text/javascript" src="navTree.js"></script>
+ <script type="text/javascript" src="jgdoc.js"></script>
+ <title><xsl:value-of select="$projectName"/></title>
+ </head>
+ <body>
+ <div class="startup" id="startup">
+ <div class="banner" id="banner">
+ <h1 class="projectName">
+ <xsl:element name="a">
+ <xsl:attribute name="href">.</xsl:attribute>
+ <xsl:attribute name="class">banner</xsl:attribute>
+ <xsl:value-of select="$projectName"/>
+ </xsl:element>
+ </h1>
+ <div class="bar">
+ version <xsl:value-of select="$version"/>
+ </div>
+ </div>
+ <div class="content" id="docContent">
+ <div class="block">
+ <div class="search" id="searchBlock">
+ <div class="searchLabel">Search:</div>
+ <div class="searchBlock">
+ <input id="jgsSearchString" type="text" size="60" class="jgdSearchString"/>
+ <div id="jgsSearchPanel" class="jgsSearchPanel" style="display:none">
+ <div class="jgdSearchRect" >
+ <div id="jgsSearchResults">
+ Loading....
+ </div>
+ </div>
+ <div id="jgsInfo" class="jgsInfo" >No selection</div>
+ </div>
+ </div>
+ </div>
+ <div id="docScroll" class="docScroll">
+ <div>
+ <hr/>
+ <xsl:if test="count(/jgdoc/project) != 0">
+ <div class="projectDesc">
+ <a name="desc"></a><br/>
+ <xsl:if test="string-length($projectDesc) != 0">
+ <h1><xsl:value-of select="$projectDesc"/></h1>
+ </xsl:if>
+ <xsl:apply-templates select='/jgdoc/project/comment/commentContent/content'/>
+ <p />
+ <xsl:apply-templates select="/jgdoc/project/comment" mode="genCommonAttrs" />
+ </div>
+ </xsl:if>
+ </div>
+ </div>
+ </div>
+ </div>
+ <xsl:call-template name="navigationPane">
+ <xsl:with-param name="elementType">logical</xsl:with-param>
+ </xsl:call-template>
+ </div>
+ </body>
+ <script type="text/javascript">
+ jgdoc.Searcher.start();
+ jgdoc.NavTree.initialize('GLOBAL');
+ </script>
+ <script type="text/javascript" src="jsindex.js">
+ </script>
+ </html>
+ </xsl:template>
+
+
+
+</xsl:stylesheet>
|