summaryrefslogtreecommitdiff
path: root/buildscripts/jGrouseDoc/skins/common
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:56:48 +0200
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:57:07 +0200
commit3069eaf35e833ffe4a1c1c7829dd7e168ae27420 (patch)
treed0c2e4d934cc34ba7d4232f759923b5a257dcb21 /buildscripts/jGrouseDoc/skins/common
parentb833247ce597ec26159b46c8dfbea7f1e265950b (diff)
Merge up to r3319
Diffstat (limited to 'buildscripts/jGrouseDoc/skins/common')
-rw-r--r--buildscripts/jGrouseDoc/skins/common/css/jgdoc.css301
-rw-r--r--buildscripts/jGrouseDoc/skins/common/css/jgindex.css53
-rw-r--r--buildscripts/jGrouseDoc/skins/common/img/closed.gifbin104 -> 0 bytes
-rw-r--r--buildscripts/jGrouseDoc/skins/common/img/closedLarge.gifbin132 -> 0 bytes
-rw-r--r--buildscripts/jGrouseDoc/skins/common/img/node.gifbin106 -> 0 bytes
-rw-r--r--buildscripts/jGrouseDoc/skins/common/img/open.gifbin101 -> 0 bytes
-rw-r--r--buildscripts/jGrouseDoc/skins/common/img/openLarge.gifbin128 -> 0 bytes
-rw-r--r--buildscripts/jGrouseDoc/skins/common/js/jgdoc.js239
-rw-r--r--buildscripts/jGrouseDoc/skins/common/js/jgindex.js96
-rw-r--r--buildscripts/jGrouseDoc/skins/common/js/navTree.js213
-rw-r--r--buildscripts/jGrouseDoc/skins/common/vm/common.vm604
-rw-r--r--buildscripts/jGrouseDoc/skins/common/xslt/common.xslt704
12 files changed, 0 insertions, 2210 deletions
diff --git a/buildscripts/jGrouseDoc/skins/common/css/jgdoc.css b/buildscripts/jGrouseDoc/skins/common/css/jgdoc.css
deleted file mode 100644
index a56481d5..00000000
--- a/buildscripts/jGrouseDoc/skins/common/css/jgdoc.css
+++ /dev/null
@@ -1,301 +0,0 @@
-
-@CHARSET "ISO-8859-1";
-/*
- jGrouseDoc stylesheet file.
- @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
- $Id: jgdoc.css 340 2008-01-21 16:13:59Z broofa $
-*/
-
-body
-{
- /*font-family: Helvetica,Arial,sans-serif;
- font-size: 0.9em;*/
-}
-
-
-a
-{
- text-decoration: none;
-}
-
-.overviewTitle
-{
- font-weight: bold;
- font-size: 1.3em;
- padding-top: 1em;
- clear: both;
-}
-
-.overviewItem
-{
-}
-
-
-.overviewSectionHeader
-{
- font-weight: bold;
- font-size: 1.1em;
- padding-top: 0.5em;
-}
-
-.sectionHeader
-{
- border: 2px groove black;
- font-size: 1.7em;
- text-align: left;
- font-weight: bold;
- background-color: #ccccff;
- color: black;
- padding: 3px;
-}
-
-.logicalSummary
-{
-}
-
-.summaryTable
-{
- border: 2px groove black;
-}
-
-.summaryTableHeader
-{
- font-size: 1.7em;
- text-align: left;
- font-weight: bold;
- background-color: #ccccff;
- color: black;
- padding: 4px;
-}
-
-.summaryTable .summaryItem
-{
- border-top: 1px solid;
- padding: 2px;
-}
-
-.summaryTable .summaryItemRef
-{
- font-weight: bold;
-}
-
-.summaryTable .summaryItemDef
-{
-}
-
-.summaryTable .inheritanceSummary
-{
- border-top: 1px solid;
- padding: 2px;
-}
-
-.summaryTable .summaryItemDesc
-{
- padding-left: 2em;
-}
-
-.elementName
-{
- font-weight: bold;
-}
-
-.descSection
-{
- font-weight: bold;
-}
-
-
-.navbar
-{
- font-size: 0.9em;
- padding-bottom: 4px;
-}
-
-.currentPage
-{
- font-weight: bold;
-}
-
-.navbaritem
-{
- float: left;
- width: 10em;
- background-color: #ccccff;
- color: black;
- padding: 4px;
- margin: 2px;
- padding-top: 2px;
- padding-bottom: 2px;
- text-align: center;
-}
-
-.navbaritem a
-{
- background-color: #ccccff;
- color: black;
- text-decoration: underline;
-}
-
-
-.projectDescRef
-{
- font-weight: bold;
-}
-
-.paddedDetails
-{
- padding-left: 5em;
-}
-
-.example
-{
- font-size: 0.8em;
- font-family: courier;
- white-space: pre;
-}
-
-
-
-.searchItem
-{
- cursor: pointer;
-}
-
-.jgdSelectedItem
-{
- background-color: #0a246a;
- color: white;
-}
-
-.jgdSearchRect
-{
- width:60%;
- height:20em;
- border: 2px inset;
- overflow: auto;
-}
-
-.jgdSearchString
-{
- width:60%;
-}
-
-.jgsInfo
-{
- white-space: pre
-}
-
-
-
-/*---------- NavTree ----------------*/
-
-
-#content {
- font-size: .9em;
- line-height:1.6;
-}
-.navTree a {
- text-decoration: none;
-}
-.navTree a:hover {
- text-decoration: underline;
-}
-
-.navTree .contents
-{
- list-style: none;
- padding-left: 6px;
- margin-left: 0px;
- clear: both;
-}
-
-.navTree .contents li
-{
- clear: both;
- white-space: nowrap;
-}
-
-
-.navTree .contents ul
-{
- border-left: 1px solid #cccccc;
- margin-left: 6px;
- clear: both;
-}
-
-
-.navTree .contents span.node
-{
- display: block;
- float: left;
-}
-
-.navTree span.node
-{
- cursor: pointer;
- background-repeat: no-repeat;
- background-position: 0em 0.2em;
-}
-
-.navTree .open span.node
-{
- background-image: url(open.gif) ;
-}
-
-.navTree .closed span.node
-{
- background-image: url(closed.gif) ;
-}
-
-.navTree .leaf span.node
-{
- background-image: url(node.gif) ;
-}
-
-.navTree .closed .contents
-{
- display: none;
-}
-
-.navTree .markerSpace
-{
- padding-left: 12px;
-}
-
-.navTree .openAll,
-.navTree .closeAll {
- font-size: .9em;
- background-repeat: no-repeat;
- padding-left: 16px;
- padding-right: 7px;
- background-position: left center;
- cursor: pointer;
-}
-
-.navTree .openAll {
- background-image: url(openLarge.gif);
-}
-
-.navTree .closeAll
-{
- background-image: url(closedLarge.gif);
-}
-
-.comment
-{
- padding-top: 0.5em;
- padding-bottom: 0.5em;
-}
-
-ul.paramoption
-{
- margin-top: 0px;
- margin-bottom: 0px;
-}
-
-a.srcUrlLink
-{
- color:#66f;
- float: right;
- font-size: 11px;
-}
diff --git a/buildscripts/jGrouseDoc/skins/common/css/jgindex.css b/buildscripts/jGrouseDoc/skins/common/css/jgindex.css
deleted file mode 100644
index c113487f..00000000
--- a/buildscripts/jGrouseDoc/skins/common/css/jgindex.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- jGrouseDoc stylesheet file for index page.
- Copyright (c) 2007 by Robert Kieffer and jGrouseDoc contributors
- $Id: jgindex.css 302 2007-12-24 22:51:11Z denis.riabtchik $
-*/
-@CHARSET "ISO-8859-1";
-
- dt {
- clear:both;
- float:left;
- width: 200px;
- margin-left: 20px;
- }
- a {
- color: #009;
- text-decoration: none;
- }
- a:hover {
- color: #009;
- text-decoration: underline;
- }
- dd {
- /*float:left;*/
- }
- dt, dd {
- margin: 0px;
- }
- dt.even, dd.even {
- border-bottom: dashed 1px #ddd;
- }
- dt.odd, dd.odd {
- border-bottom: dotted 1px #eee;
- }
- dt.is_namespace {
- font-weight:bold;
- }
-
- #toc {
- font-size: 12pt;
- font-weight: bold;
- }
- #toc .has_entries a,
- #toc .no_entries {padding: 0px 3px;}
- #toc .no_entries {color:#999}
-
- .letter_section {
- clear:both;
- margin: 0px;
- padding:15px 0px 6px;
- }
- .letter_section a {
- color:#000;
- }
diff --git a/buildscripts/jGrouseDoc/skins/common/img/closed.gif b/buildscripts/jGrouseDoc/skins/common/img/closed.gif
deleted file mode 100644
index ab9701f2..00000000
--- a/buildscripts/jGrouseDoc/skins/common/img/closed.gif
+++ /dev/null
Binary files differ
diff --git a/buildscripts/jGrouseDoc/skins/common/img/closedLarge.gif b/buildscripts/jGrouseDoc/skins/common/img/closedLarge.gif
deleted file mode 100644
index 97e3ab95..00000000
--- a/buildscripts/jGrouseDoc/skins/common/img/closedLarge.gif
+++ /dev/null
Binary files differ
diff --git a/buildscripts/jGrouseDoc/skins/common/img/node.gif b/buildscripts/jGrouseDoc/skins/common/img/node.gif
deleted file mode 100644
index 82362651..00000000
--- a/buildscripts/jGrouseDoc/skins/common/img/node.gif
+++ /dev/null
Binary files differ
diff --git a/buildscripts/jGrouseDoc/skins/common/img/open.gif b/buildscripts/jGrouseDoc/skins/common/img/open.gif
deleted file mode 100644
index 01286477..00000000
--- a/buildscripts/jGrouseDoc/skins/common/img/open.gif
+++ /dev/null
Binary files differ
diff --git a/buildscripts/jGrouseDoc/skins/common/img/openLarge.gif b/buildscripts/jGrouseDoc/skins/common/img/openLarge.gif
deleted file mode 100644
index d4162470..00000000
--- a/buildscripts/jGrouseDoc/skins/common/img/openLarge.gif
+++ /dev/null
Binary files differ
diff --git a/buildscripts/jGrouseDoc/skins/common/js/jgdoc.js b/buildscripts/jGrouseDoc/skins/common/js/jgdoc.js
deleted file mode 100644
index 7b1281bf..00000000
--- a/buildscripts/jGrouseDoc/skins/common/js/jgdoc.js
+++ /dev/null
@@ -1,239 +0,0 @@
-/**
- * Searcher for JGrouseDoc
- * $Id: jgdoc.js 324 2008-01-06 16:44:39Z denis.riabtchik $
- */
-
-jgdoc = {}
-
-jgdoc.Searcher =
-{
- initialize : function()
- {
- this._searchBox = document.getElementById("jgsSearchString");
- this._searchResults = document.getElementById("jgsSearchResults");
- this._info = document.getElementById("jgsInfo");
- this._currentValue = "";
- this._currentItems = [];
- this._currentItem = -1;
- this._data = null;
- return this;
- },
-
- _getEvent : function(event)
- {
- return window.event? window.event : event;
- },
-
- _getTarget : function(event)
- {
- return event.target || event.srcElement
- },
-
- addClass : function(element, className)
- {
- var s = element.className;
- var a = s.split(' ');
- for (var i = 0; i < a.length; i++)
- {
- if (a[i] == className)
- {
- return;
- }
- }
- a.push(className);
- element.className = a.join(' ');
- },
-
- removeClass : function(element, className)
- {
- var s = element.className;
- var a = s.split(' ');
- for (var i = 0; i < a.length; i++)
- {
- if (a[i] == className)
- {
- a.splice(i, 1);
- break;
- }
- }
- element.className = a.join(' ');
-
- },
-
- dispatcher : function(event)
- {
- if (this != jgdoc.Searcher)
- {
- arguments.callee.apply(jgdoc.Searcher, arguments)
- return;
- }
- event = this._getEvent(event);
- var type = event.type;
- var handler = "on" + type;
- this[handler](event, this._getTarget(event));
- },
-
- onclick : function(event, target)
- {
- window.location.href = target._data.ref;
- },
-
- onmouseover : function(event, target)
- {
- this.selectItem(target.index);
- },
-
- onmouseout : function(event, target)
- {
- this.unselectItem(target.index);
- },
-
- selectItem : function(index)
- {
- if (index != this._currentItem)
- {
- this._currentItem = index;
- var item = this._currentItems[index];
- this.addClass(item, 'jgdSelectedItem');
- var text = item._data.summary.split('\n').join('<br/>');
- this._info.innerHTML = text;
- }
- },
-
- unselectItem : function(index)
- {
- this._currentItem = -1;
- var item = this._currentItems[index];
- this.removeClass(item, 'jgdSelectedItem');
- this._info.innerHTML = '';
- },
-
-
- onTimer : function()
- {
- if (this != jgdoc.Searcher)
- {
- arguments.callee.apply(jgdoc.Searcher, arguments)
- return;
- }
- var val = this._searchBox.value;
- if (val != this._currentValue)
- {
- this._currentValue = val;
- this.redraw();
- }
- },
-
- setData : function(data)
- {
- this._data = data;
- this.redraw();
- this._searchBox.focus();
- },
-
- addListener : function(element, eventName, handler)
- {
- if (element.addEventListener)
- {
- element.addEventListener(eventName, handler, false);
- }
- else
- {
- element.attachEvent('on' + eventName, handler);
- }
- },
-
- removeListener : function(element, eventName, handler)
- {
- if (element.removeEventListener)
- {
- element.removeEventListener(eventName, handler, false);
- }
- else
- {
- element.detachEvent('on' + eventName, handler);
- }
- },
-
- findMatches : function()
- {
- var result = [];
- if (this._currentValue)
- {
- var v = this._currentValue.toUpperCase();
- for (var i = 0; i < this._data.length; i++)
- {
- var item = this._data[i];
- if (item.localName.toUpperCase().indexOf(v) == 0)
- {
- result.push(item);
- }
- }
- }
- return result;
- },
-
-
- clearItem : function(item)
- {
- item._data = null;
- this.removeListener(item, 'click', this.dispatcher);
- this.removeListener(item, 'mouseover', this.dispatcher);
- this.removeListener(item, 'mouseout', this.dispatcher);
- },
-
- clear : function()
- {
- for (var i = 0; i < this._currentItems.length; i++)
- {
- this.clearItem(this._currentItems[i]);
- }
- this._currentItems = [];
- this._searchResults.innerHTML = "";
- this._currentItem = -1;
- },
-
-
- createItem : function(item, index)
- {
- var d = document.createElement("div");
- d.className = "searchItem";
- //d.title = item.summary;
- d.innerHTML = item.fullName;
- d.index = index;
- d._data = item;
- this.addListener(d, 'click', this.dispatcher);
- this.addListener(d, 'mouseover', this.dispatcher);
- this.addListener(d, 'mouseout', this.dispatcher);
- //todo - set listeners
- return d;
- },
-
- redraw : function()
- {
- this.clear();
- var res = this.findMatches();
- if (res.length > 0)
- {
- for (var i = 0; i < res.length; i++)
- {
- var d = this.createItem(res[i], i);
- this._currentItems.push(d);
- this._searchResults.appendChild(d);
- }
- }
- else
- {
- var s = (this._currentValue)? "Not found" : "Start typing the name of the item";
- this._searchResults.innerHTML = s;
- }
- },
-
- start : function()
- {
- var instance = jgdoc.Searcher.initialize();
- instance.setData([]);
- instance._timer = window.setInterval(instance.onTimer, 100);
- }
-}
-
diff --git a/buildscripts/jGrouseDoc/skins/common/js/jgindex.js b/buildscripts/jGrouseDoc/skins/common/js/jgindex.js
deleted file mode 100644
index d1944cff..00000000
--- a/buildscripts/jGrouseDoc/skins/common/js/jgindex.js
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * Script that builds jGrouseDoc Index Page
- * Copyright (c) 2007 by Robert Kieffer and jGrouseDoc contributors
- * $Id: jgindex.js 303 2007-12-24 22:52:30Z denis.riabtchik $
- */
-
-var jgindex = {
- load: function() {
- // Sort data by localName
- jgindex.data.sort(function(a,b) {
- var c = (a.localName || a.fullName).toLowerCase();
- var d = (b.localName || b.fullName).toLowerCase();
- return c < d ? -1 : (c > d ? 1 : 0);
- });
-
- // Now render the index
- jgindex.renderEntries();
- },
-
- renderEntries: function() {
- var h = [];
-
- // Use a DL, since this is the most semantically correct structure
- h.push('<dl>');
-
- // Hash to track which letters have entries
- var letters = {};
-
- // Loop through each entry
- for (var i = 0; i < jgindex.data.length; i++) {
- var entry = jgindex.data[i];
-
- // Get name/url for the entry's namespace
- var srcName = entry.parent;
- var srcLink = entry.ref.replace(/#.*/, '');
-
- // Apply odd/even classname (makes styling even/odd rows easy)
- var cn = [(i % 2) ? 'odd' : 'even'];
- cn.push(/^(class|interface|struct|object)/.test(entry.summary) ? 'is_namespace' : 'is_not_namespace');
-
- // Get the entry's first letter
- var ln = entry.localName || entry.fullName || '_unnamed';
- var letter = ln.charAt(0).toUpperCase();
-
- // ... and see if it's the first one for that letter
- if (!letters[letter]) {
- letters[letter] = true;
- } else {
- letter = null;
- }
-
- // ... and if it is, render the section header
- if (letter) {
- h.push('<h3 class="letter_section"><a name="' + letter + '">' + letter + '</a></h3>');
- }
-
- // Render the entry's HTML
- cn = cn.join(' ');
- h.push(
- '<dt title="' + entry.summary + '" class="' + cn + '">' +
- '<a href="' + entry.ref + '">' + ln + '</a>' +
- '</dt>' +
- '<dd class="' + cn + '">' +
- '<a href="' + srcLink + '">' + srcName + '</a>' +
- '</dd>'
- );
- }
- h.push('</dl>');
-
- // Stick it all into the element
- document.getElementById('index').innerHTML = h.join('\n');
-
- // Render the letters table-of-contents at the top
- h = [];
- var toc = '$_ABCDEFGHIJKLMNOPQRSTUVWXYZ';
- for (var i = 0; i < toc.length; i++) {
- var letter = toc.charAt(i);
- h.push(letters[letter] ?
- '<span class="has_entries"><a href="#' + letter + '">' + letter + '</a></span>' :
- '<span class="no_entries">' + letter + '</span>'
- );
- }
- document.getElementById('toc').innerHTML = h.join('\n');
- }
-}
-
-
-// Hack so we can get access to the index data
-var jgdoc = {
- Searcher: {
- setData: function(data) {
- jgindex.data = data;
- jgindex.load();
- }
- }
-}
diff --git a/buildscripts/jGrouseDoc/skins/common/js/navTree.js b/buildscripts/jGrouseDoc/skins/common/js/navTree.js
deleted file mode 100644
index 5a71ec51..00000000
--- a/buildscripts/jGrouseDoc/skins/common/js/navTree.js
+++ /dev/null
@@ -1,213 +0,0 @@
-jgdoc = {};
-jgdoc.TreeItem = function(nodeName, item)
-{
- this._nodeName = nodeName;
- this._data = item;
- this._children = [];
-
-}
-
-jgdoc.Searcher =
-{
- setData : function(data) {
- this._data = data;
- this.processItems();
- this.render();
- },
-
- sorter: function(o1, o2) {
- var l1 = o1.localName;
- var l2 = o2.localName;
- return l1 < l2? -1 : (l1 > l2 ? 1 : 0);
- },
-
- processItems : function() {
- var root;
-
- // Pass 1: Build index by fullName, and locate the root element
- this._byName = {};
- for (var i = 0; i < this._data.length; i++) {
- var d = this._data[i];
- if (d.fullName == "GLOBAL") {
- root = this._root = d;
- }
- this._byName[d.fullName] = d;
- }
-
- // Pass 2: Populate _children arrays
- for (var i = 0; i < this._data.length; i++) {
- var item = this._data[i];
- if (item.elementType == "logical_container" && item != this._root) {
- var parent = this._byName[item.parent];
- parent._children = parent._children || [];
- parent._children.push(item);
- }
- }
- },
-
- addClass : function(element, className)
- {
- var s = element.className;
- var a = s.split(' ');
- for (var i = 0; i < a.length; i++)
- {
- if (a[i] == className)
- {
- return;
- }
- }
- a.push(className);
- element.className = a.join(' ');
- },
-
- removeClass : function(element, className)
- {
- var s = element.className;
- var a = s.split(' ');
- var found = false;
- for (var i = 0; i < a.length; i++)
- {
- if (a[i] == className)
- {
- a.splice(i, 1);
- found = true;
- break;
- }
- }
- element.className = a.join(' ');
- return found;
- },
-
- clicked : function(event)
- {
- event = window.event? window.event : event;
- var target = event.target || event.srcElement;
- var span = target.parentNode;
- var li = span.parentNode;
- var wasOpen = jgdoc.Searcher.removeClass(li, 'open');
- if (wasOpen)
- {
- jgdoc.Searcher.addClass(li, 'closed');
- }
- else
- {
- jgdoc.Searcher.removeClass(li, 'closed');
- jgdoc.Searcher.addClass(li, 'open');
- }
- span.title = "Click to " + (wasOpen? "expand" : "collapse");
-
- },
-
- addListener : function(element, eventName, handler)
- {
- if (element.addEventListener)
- {
- element.addEventListener(eventName, handler, false);
- }
- else
- {
- element.attachEvent('on' + eventName, handler);
- }
- },
-
- removeListener : function(element, eventName, handler)
- {
- if (element.removeEventListener)
- {
- element.removeEventListener(eventName, handler, false);
- }
- else
- {
- element.detachEvent('on' + eventName, handler);
- }
- },
-
-
- render : function()
- {
- var d = document.getElementById('content');
- d.innerHTML = '';
- var athis = this;
- function renderNode(item)
- {
- var node = document.createElement('li');
- node.className = item.type;
- node.innerHTML = "<span class='node'><span class='markerSpace'>&nbsp;</span></span><a href='" + item.ref + "' target='classFrame' title='" + item.summary + "'>" + item.localName + "</a>";
- var span = node.firstChild;
- var img = span.firstChild;
- athis.addListener(img, 'mousedown', athis.clicked);
- if (item._children)
- {
- item._children.sort(jgdoc.Searcher.sorter);
- node.className += (item == athis._root)? ' open' : ' closed';
- span.title = "Click to " + (item != athis._root? 'expand' : 'collapse');
- var subnode = document.createElement("ul");
- subnode.className = 'contents';
- for (var i = 0; i < item._children.length; i++)
- {
- var child = renderNode(item._children[i]);
- subnode.appendChild(child);
- }
- node.appendChild(subnode);
- }
- else
- {
- node.className += ' leaf';
- }
- item._node = node;
- return node;
- }
- var root = renderNode(this._root);
- d.appendChild(root);
- },
-
- cancelEvent : function(event)
- {
- if (event.preventDefault)
- {
- event.preventDefault();
- event.stopPropagation();
- }
- else
- {
- event.preventDefault();
- event.stopPropagation();
- }
- },
-
- switchAll : function(doOpen)
- {
- var ac = doOpen? 'open' : 'closed';
- var rc = doOpen? 'closed' : 'open';
-
- var athis = this;
-
- function doSwitchNode(anode)
- {
- if (anode._children)
- {
- if (doOpen || anode != athis._root)
- {
- athis.removeClass(anode._node, rc);
- athis.addClass(anode._node, ac);
- }
- for (var i = 0; i < anode._children.length; i++)
- {
- doSwitchNode(anode._children[i]);
- }
- }
- }
- doSwitchNode(this._root);
- },
-
- onOpenAll : function()
- {
- jgdoc.Searcher.switchAll(true);
- },
-
- onCloseAll : function()
- {
- jgdoc.Searcher.switchAll(false);
- }
-
-};
diff --git a/buildscripts/jGrouseDoc/skins/common/vm/common.vm b/buildscripts/jGrouseDoc/skins/common/vm/common.vm
deleted file mode 100644
index b46b62c6..00000000
--- a/buildscripts/jGrouseDoc/skins/common/vm/common.vm
+++ /dev/null
@@ -1,604 +0,0 @@
-#macro(writeLink $link)
-#set ($linkElement = $jg.get($link))
-$rootPath#if($linkElement.isContainer())
-#if($linkElement.isLogicalContainer())logical#{else}physical#end/${linkElement.path}.html#{else}
-logical/${linkElement.owner.path}.html#___$linkElement.localName#end
-#end
-
-
-#macro(writeContent $content)
-#foreach ($section in $content.sections)
-#if ($section.link && $section.resolvedPath && $section.resolvedPath.length() > 0)
-<a href="#writeLink($section.resolvedPath)">$section.text</a>#else$section.text#end
-#end
-#end
-
-#macro (writeType $type)
-<span class="type">#writeContent($type)</span>
-#end
-
-
-
-
-#macro(genCommonAttrs $comment)
- #if($comment.author.size() > 0)
- <div class="authors">
- <span class="descSection">Authors:</span>
- #foreach($author in $comment.author)
- <div class="paddedDetails">#writeContent($author.content)</div>
- #end
- </div>
- #end
- #if ($comment.see.size() > 0)
- <div class="seealso">
- <span class="descSection">See also:</span>
- #foreach($see in $comment.see)
- <div class="paddedDetails">#writeContent($see.content)</div>
- #end
- </div>
- #end
- #if ($comment.version.size() > 0)
- <div class="version">
- <span class="descSection">Version:</span>
- #foreach($version in $comment.version)
- <div class="paddedDetails">#writeContent($version.content)</div>
- #end
- </div>
- #end
- #if ($comment.timestamp.size() > 0)
- <div class="generated">
- <span class="descSection">Generated on:</span>
- <div class="paddedDetails">$jg.project.timestamp</div>
- </div>
- #end
- #if ($comment.since.size() > 0)
- <div class="since">
- <span class="descSection">Since:</span>
- #foreach($since in $comment.since)
- <div class="paddedDetails">#writeContent($since.content)</div>
- #end
- </div>
- #end
- #if ($comment.deprecated.size() > 0)
- <div class="deprecated">
- <span class="descSection">Deprecated:</span>
- #foreach($dep in $comment.deprecated)
- <div class="paddedDetails">#writeContent($dep.content)</div>
- #end
- </div>
- #end
-#end
-
-
-#macro (writeFunctionParams $paramSet)
-#foreach($param in $paramSet.params)#if($velocityCount > 1), #end#if($param.hasModifier('optional'))[#end#writeType($param.typeLink) $param.name#if($param.hasModifier('optional'))]#end#end
-#end
-
-
-#macro(writeSrcURL $obj)
- #if($obj.comment.srcUrl)
- <a href="$obj.comment.srcUrl" class="srcUrlLink">view source</a>
- #end
-#end
-
-
-#macro(writeParamOption $paramOption)
- <li>
- <code>
- #if($paramOption.hasModifier("optional"))[#end
- <span class="modifiers">$paramOption.strModifiers</span>
- #writeType($paramOption.typeLink)
- $paramOption.name
- #if($paramOption.hasModifier("optional"))]#end
- </code>
- #writeContent($paramOption.content)
- </li>
-#end
-
-
-#macro(writeParam $param)
- <div class="param paddedDetails">
- <code>
- #if($param.hasModifier("optional"))[#end${param.name}#if($param.hasModifier("optional"))]#end
- </code>
- #writeContent($param.content)
- #if($param.children.size() > 0)
- <ul class="paramoption">
- #foreach($paramOption in $param.children)
- #writeParamOption($paramOption)
- #end
- </ul>
- #end
- </div>
-#end
-
-
-#macro(writePhysOwner $element)
- #if($element.hasSamePhysOwner)
- <span class="definedIn">Defined in </span>
- <a href="#writeLink($element.physOwner)">$element.physOwner.comment.name</a>
- #end
-#end
-
-
-
-
-#macro(writeFunctionDetails $func $memberType)
- #set ($funcModifiers = $func.comment.modifiers)
- #if ($func.comment.inheritdesc.size() == 0)
- #set ($funcItself = $func)
- #else
- #set ($funcItself = $jg.get($func.comment.inheritdesc.get(0).name))
- #end
- #writeSrcURL($func)
- <h3>
- <a name="___$func.localName">
- <span class="objType">$memberType</span>
- <span class="objName">$func.localName</span>
- </a>
- </h3>
- #if ($funcItself.comment.paramSets.size() > 0)
- #foreach($paramSet in $funcItself.comment.paramSets)
- <div>
- <code>
- <span class="modifiers">$funcModifiers</span>
- #writeType($funcItself.comment.typeLink)
- ${funcItself.localName}(#writeFunctionParams($paramSet))
- </code>
- </div>
- #end
- #else
- <div>
- <code>
- <span class="modifiers">$funcModifiers</span>
- #writeType($funcItself.comment.typeLink)
- ${funcItself.localName}()
- </code>
- </div>
- #end
- <div class="comment">
- #writeContent($funcItself.comment.content)
- </div>
- #if ($funcItself.comment.paramSets.size() > 0)
- <div class="parameters">
- <span class="descSection">Parameters:</span><br/>
- #foreach($paramSet in $funcItself.comment.paramSets)
- <div>
- <div class="paramset">#writeContent($paramSet.content)</div>
- <div>
- #foreach($param in $paramSet.params)
- #writeParam($param)
- #end
- </div>
- </div>
- #end
- </div>
- #end
- #if($funcItself.comment.returnsTag )
- <div class="returns">
- <span class="descSection">Returns:</span><br/>
- <div class="paddedDetails">
- #set ($return = $funcItself.comment.returnsTag)
- #writeContent($return.content)
- #if($return.children.size() > 0)
- <ul class="paramoption">
- #foreach($paramOption in $return.children)
- #writeParamOption($paramOption)
- #end
- </ul>
- #end
- </div>
- </div>
- #end
- #if($funcItself.comment.throws.size() > 0)
- <div class="throws">
- <span class="descSection">Throws:</span><br/>
- #foreach($throws in $funcItself.comment.throws)
- <div class="paddedDetails">#writeContent($throws.content)</div>
- #end
- </div>
- #end
- #genCommonAttrs($funcItself.comment)
- #writePhysOwner($func)
- <hr/>
-#end
-
-
-#macro(writeVarDetails $var)
- #set ($varModifiers = $var.comment.modifiers)
- #if ($var.comment.inheritdesc.size() == 0)
- #set ($varItself = $var)
- #else
- #set ($varItself = $jg.get($var.comment.inheritdesc.get(0).name))
- #end
-
- #writeSrcURL($var)
- <h3>
- <a name="___$var.localName">
- <span class="objType">$var.commentType</span> <span class="modifiers">$varModifiers</span>
- #writeType($varItself.comment.typeLink)
- <span class="objName">$var.localName</span>
- </a>
- </h3>
- <div class="comment">
- #writeContent($varItself.comment.content)
- </div>
- #genCommonAttrs($varItself.comment)
- #writePhysOwner($var)
- <hr />
-#end
-
-
-
-
-#macro(writeLegacies $obj $memberType $memberName )
- #foreach($legacy in $obj.legacies)
- #if ($legacy.get($memberType).size() > 0)
- <div class="summaryTable">
- <div class="summaryTableHeader">
- $memberName inherited from <a href="#writeLink($legacy.ancestor.fullName)">$legacy.ancestor.fullName</a>
- </div>
- <div class="inheritanceSummary">
- #foreach($item in $legacy.get($memberType))#if($velocityCount > 1), #end<a href="#writeLink($item.fullName)">$item.localName</a>#end
- </div>
- </div>
- <br/>
- #end
- #end
-#end
-
-
-
-#macro(writeVarSummary $variable)
- #set ($varModifiers = $variable.comment.modifiers)
- #if ($variable.comment.inheritdesc.size() == 0)
- #set ($varItself = $variable)
- #else
- #set ($varItself = $jg.get($variable.comment.inheritdesc.get(0).name))
- #end
- <div class="summaryItemDef">
- <span class="modifiers">$varModifiers</span>
- #writeType($variable.comment.typeLink)
- <a href="#writeLink($variable.fullName)"><span class="elementName">$variable.localName</span></a>
- </div>
- <div class="summaryItemDesc">
- #writeContent($varItself.comment.summary)
- </div>
-#end
-
-
-#macro(writeFuncSummary $func)
- #set ($funcModifiers = $func.comment.modifiers)
- #if ($func.comment.inheritdesc.size() == 0)
- #set ($funcItself = $func)
- #else
- #set ($funcItself = $jg.get($func.comment.inheritdesc.get(0).name))
- #end
- #if ($funcItself.comment.paramSets.size() != 0)
- #foreach($paramSet in $funcItself.comment.paramSets)
- <div class="summaryItemDef">
- <span class="modifiers">$funcModifiers</span>
- #writeType($func.comment.typeLink)
- <a href="#writeLink($func.fullName)"><span class="elementName">$func.localName</span></a>
- (#writeFunctionParams($paramSet))
- </div>
- #end
- #else
- <div class="summaryItemDef">
- <span class="modifiers">$funcModifiers</span>
- #writeType($func.comment.typeLink)
- <a href="#writeLink($func.fullName)"><span class="elementName">$func.localName</span></a>()
- </div>
- #end
- <div class="summaryItemDesc">
- #writeContent($funcItself.comment.summary)
- </div>
-#end
-
-
-#macro(writeLogicalSummary $class)
- <div class="summaryItemDef">
- <span class="elementName">
- <a href="${rootPath}logical/${class.path}.html">$class.comment.name</a>
- </span>
- </div>
- <div class="summaryItemDesc">
- #writeContent($class.comment.summary)
- </div>
-#end
-
-
-#macro(writeSummary $coll $elemType $elemName)
- #if($coll.size() != 0)
- <div class="summaryTable $elemType">
- <div class="summaryTableHeader">
- <span class="objType">$elemName</span> Summary
- </div>
- #foreach($item in $coll)
- <div class="summaryItem">
- #if ($elemType == "namespace" || $elemType == "class" || $elemType == "interface" || $elemType == "struct"|| $elemType == "object")
- #writeLogicalSummary($item)
- #elseif ($elemType == "function" || $elemType == "constructor" || $elemType == "ifunction" || $elemType == "event")
- #writeFuncSummary($item)
- #elseif ($elemType == "variable" || $elemType == "property")
- #writeVarSummary($item)
- #end
- </div>
- #end
- </div>
- <p/>
- #end
-#end
-
-
-
-#macro(writeDetails $object $elemType $memberName)
- #if ($object.get($elemType).size() > 0)
- <div class="details $elemType">
- <h2 class="sectionHeader">$memberName Details</h2>
- #foreach($item in $object.get($elemType))
- #if ($elemType == "function" || $elemType == "constructor" || $elemType == "ifunction" || $elemType == "event")
- #writeFunctionDetails($item $elemType)
- #elseif ($elemType == "variable" || $elemType == "property")
- #writeVarDetails($item)
- #end
- #end
- </div>
- #end
-#end
-
-
-
-
-
-#macro(navigationPane $elementType)
-<div class="navigation" id="navigation">
- <ul class="navContent#if($elementType != "logical") closed#end">
- <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>
- </ul>
- <ul class="navContent#if($elementType != "file") closed#end">
- <li>
- <div class="fileTree">
- <h2 onclick="jgdoc.NavPanel.clicked(event)">
- <a href="javascript:jgdoc.NavPanel.dummy()">Files</a>
- </h2>
- <ul class="navContent2">
- <li>
- #foreach($file in $jg.files)
- #if(!$file.isModuleFile())
- <div>
- <a href="physical/${file.path}.html">$file.comment.name</a>
- </div>
- #end
- #end
- </li>
- </ul>
- </div>
- </li>
- </ul>
- <ul class="navContent#if($elementType != "module") closed#end">
- <li>
- <div class="moduleTree">
- <h2 onclick="jgdoc.NavPanel.clicked(event)">
- <a href="javascript:jgdoc.NavPanel.dummy()">Modules</a>
- </h2>
- <ul class="navContent2">
- <li>
- #foreach($module in $jg.modules)
- <div>
- <a href="physical/${module.path}.html">$module.comment.name</a>
- </div>
- #end
- </li>
- </ul>
- </div>
- </li>
- </ul>
-</div>
-
-#end
-
-#macro(writeCSS $rootPath $aux_path)
- <link rel="stylesheet" type="text/css" href="${rootPath}jgdoc.css"/>
- <link rel="stylesheet" type="text/css" href="${rootPath}theme.css"/>
- #if($aux_path && $aux_path != 'not_specified')
- <link rel="stylesheet" type="text/css" href="${rootPath}$aux_css"/>
- #end
-#end
-
-#macro(navbarPhys $isStartup)
- <div class="navbar">
- <div class="navbaritem">
- #if ($isStartup == "yes")
- <a href="$rootPath/overview-summary-log.html">Logical View</a>
- #else
- <a href="$rootPath/overview-summary.html">Start</a>
- #end
- </div>
- <div class="navbaritem">
- <a href="$rootPath/jgindex.html">Index</a>
- </xsl:element>
- </div>
- <div class="navbaritem">
- <a href="$rootPath/jgsearch.html">Search</a>
- </div>
- </div>
-#end
-
-#macro(navbarLog $isStartup)
- <div class="navbar">
- <div class="navbaritem">
- #if ($isStartup == "yes")
- <a href="$rootPath/overview-summary.html">Physical View</a>
- #else
- <a href="$rootPath/overview-summary-log.html">Start</a>
- #end
- </div>
- <div class="navbaritem">
- <a href="$rootPath/jgindex.html">Index</a>
- </xsl:element>
- </div>
- <div class="navbaritem">
- <a href="$rootPath/jgsearch.html">Search</a>
- </div>
- </div>
-#end
-
-#macro(writeClassAttributes $obj)
-#if($obj.comment.extends.size() > 0)
- <div class="extends">
- <span class="descSection">Extends </span>
- #foreach ($tagContent in $obj.comment.extends)
- #if($velocityCount > 1), #end #writeContent($tagContent.content)
- #end
- </div>
-#end
-#if($obj.comment.implements.size() > 0)
- <div class="implements">
- <span class="descSection">Implements </span>
- #foreach ($tagContent in $obj.comment.implements)
- #if($velocityCount > 1), #end #writeContent($tagContent.content)
- #end
- </div>
-#end
-
-#if($obj.subClasses.size() > 0)
- <div class="subclasses">
- <div class="descSection">
- #if($obj.commentType == "class")Direct Known Subclasses:#{else}All Known Subinterfaces:#end
- </div>
- <div class="paddedDetails">
- #foreach($subclass in $obj.subClasses)#if($velocityCount > 1), #end<a href="#writeLink($subclass.fullName)">$subclass.fullName</a>#end
- </div>
- </div>
-#end
-
-#if($obj.implementors.size() > 0)
- <div>
- <div>
- All Known Implementing Classes:
- </div>
- <div>
- #foreach($subclass in $obj.implementors)#if($velocityCount > 1), #end<a href="#writeLink($subclass.fullName)">$subclass.fullName</a>#end
- </div>
- </div>
-#end
-#end
-
-#macro(writeModuleAttributes $obj)
-#if ($obj.comment.requires.size() > 0)
- <div class="requires">
- <span class="descSection">Requires modules: </span>
- #foreach($tagContent in $obj.comment.requires)
- #if($velocityCount > 1), #end #writeContent($tagContent.content)
- #end
- </div>
-#end
-#end
-
-
-#macro(writeLogicalContainerSummary $obj)
- #if ($obj.elementType == "logical_container" && $obj.commentType != "namespace")
- #set($nested = "Nested")
- #else
- #set ($nested = "")
- #end
-
- #writeSummary($obj.get("class") "class" "$nested Class")
- #writeSummary($obj.get("interface") "interface" "$nested Interface")
- #writeSummary($obj.object "object" "$nested Object")
- #writeSummary($obj.structure "structure" "$nested Structure")
-
- #writeSummary($obj.variable "variable" "Variable")
- #writeLegacies($obj "variable" "Variables")
-
-
- #writeSummary($obj.property "property" "Property")
- #writeLegacies($obj "property" "Properties" )
-
- #writeSummary($obj.constructor "constructor" "Constructor")
-
- #writeSummary($obj.function "function" "Function")
- #writeLegacies($obj "function" "Functions" )
-
- #writeSummary($obj.event "event" "Event")
- #writeSummary($obj.ifunction "ifunction" "Function Interface")
-#end
-
-#macro(writeLogicalContainerDetails $obj)
- #writeDetails($obj "variable" "Variable")
- #writeDetails($obj "property" "Property")
- #writeDetails($obj "constructor" "Constructor")
- #writeDetails($obj "function" "Function")
- #writeDetails($obj "event" "Event")
- #writeDetails($obj "ifunction" "Function Interface")
-#end
-
-#macro(writeContainer $obj)
- #if($obj.comment.srcUrl)
- <a href="$obj.comment.srcUrl" class="srcUrlLink">view source</a>
- #end<H2>
- <span class="objType">$obj.capCommentType</span> $obj.comment.name
- </H2>
- #writeClassAttributes($obj)
- <hr/>
- <!-- description -->
- <div>
- <code>
- <span class="modifiers">$obj.comment.modifiers</span>
- <span class="objType">$obj.commentType</span>
- <b>$obj.comment.name</b>
- </code>
- </div>
- #writeModuleAttributes($obj)
- #if($obj.comment.content)
- <div class="comment">#writeContent($obj.comment.content)</div>
- #end
- #genCommonAttrs($obj.comment)
- #if ($obj.physOwner)
- <span class="definedIn">Defined in </span>
- <a href="#writeLink($obj.physOwner.fullName)">$obj.physOwner.comment.name</a>
- #end
- <hr/>
- <p />
-
- #writeLogicalContainerSummary($obj)
- <!-- ============== Details coming here =================== -->
- #writeLogicalContainerDetails($obj)
-#end
-
-#macro(writeOverview $object)
- <div class="overviewItem">
- <a href="#writeLink($object.fullName)" target="classFrame">
- $object.fullName
- </a>
- </div>
-#end
-
-#macro(writeRefOverview $coll $elementType $elementName)
- #if ($coll.size() > 0)
- <div class="overviewTitle">$elementName</div>
- #foreach($item in $coll)
- #writeOverview($item)
- #end
- #end
-#end \ No newline at end of file
diff --git a/buildscripts/jGrouseDoc/skins/common/xslt/common.xslt b/buildscripts/jGrouseDoc/skins/common/xslt/common.xslt
deleted file mode 100644
index b8477c76..00000000
--- a/buildscripts/jGrouseDoc/skins/common/xslt/common.xslt
+++ /dev/null
@@ -1,704 +0,0 @@
-<!--
- jGrouseDoc template file. Shared templates.
- @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
- $Id: common.xslt 515 2008-03-31 19:32:57Z denis.riabtchik $
--->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
-
- <xsl:template name="parentPath">
- <xsl:param name="parentName"/>
- <xsl:value-of select="/jgdoc/items/*[@id=$parentName]/@path" />
- </xsl:template>
-
- <xsl:template match="type">
- <span class="type"><xsl:apply-templates select="*"/></span>
- <xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="*" mode="writeFuncSummary">
- <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="writeFuncSummary1">
- <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="writeFuncSummary1">
- <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="*" mode="writeFuncSummary1">
- <xsl:param name="origName"/>
- <xsl:param name="modifiers"/>
- <xsl:choose>
- <xsl:when test="count(comment/paramSet) != 0">
- <xsl:for-each select="comment/paramSet">
- <div class="summaryItemDef">
- <span class="modifiers"><xsl:value-of select="$modifiers"/></span>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="../../comment/type" />
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:call-template name="writeLink">
- <xsl:with-param name="refName"><xsl:value-of select="$origName"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute>
- <span class="elementName"><xsl:value-of select="../../@localName"/></span>
- </xsl:element>
- <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>
- </div>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <div class="summaryItemDef">
- <span class="modifiers"><xsl:value-of select="$modifiers"/></span>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="comment/type" />
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:call-template name="writeLink">
- <xsl:with-param name="refName"><xsl:value-of select="$origName"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute>
- <span class="elementName"><xsl:value-of select="@localName"/></span>
- </xsl:element>()
- </div>
- </xsl:otherwise>
- </xsl:choose>
- <div class="summaryItemDesc">
- <xsl:apply-templates select="comment/summary/content"/>
- </div>
- </xsl:template>
-
- <xsl:template match="*" mode="writeVarSummary">
- <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="writeVarSummary1">
- <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="writeVarSummary1">
- <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="*" mode="writeVarSummary1">
- <xsl:param name="origName"/>
- <xsl:param name="modifiers"/>
- <div class="summaryItemDef">
- <span class="modifiers"><xsl:value-of select="$modifiers"/></span>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="comment/type" />
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:call-template name="writeLink">
- <xsl:with-param name="refName"><xsl:value-of select="$origName"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute>
- <span class="elementName"><xsl:value-of select="@localName" /></span>
- </xsl:element>
- </div>
- <div class="summaryItemDesc">
- <xsl:apply-templates select="comment/summary/content"/>
- </div>
- </xsl:template>
-
- <xsl:template match="*" mode="writeLogicalSummary">
- <div class="summaryItemDef">
- <span class="elementName"><xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>logical/<xsl:value-of select="@path"/>.html</xsl:attribute>
- <xsl:value-of select="comment/name"/>
- </xsl:element></span>
- </div>
- <div class="summaryItemDesc">
- <xsl:apply-templates select="comment/summary/content"/>
- </div>
- </xsl:template>
-
- <xsl:template name="writeFunctionParams">
- <xsl:param name="funcName"/>
- <xsl:param name="paramSetCount"/>(<xsl:for-each select="/jgdoc/items/*[@id=$funcName]/comment/paramSet[$paramSetCount]/param"><xsl:if test="position() != 1">, </xsl:if><xsl:if test="@optional = 'true'">[</xsl:if><xsl:apply-templates select="type"/><xsl:value-of select="normalize-space(@name)"/><xsl:if test="@optional = 'true'">]</xsl:if></xsl:for-each>)</xsl:template>
-
- <xsl:template name="writeLink">
- <xsl:param name="refName"/>
- <xsl:for-each select="/jgdoc/items/*[@id=$refName]">
- <xsl:value-of select="$rootPath"/><xsl:choose>
- <xsl:when test="@elementType='phys_container'">physical/</xsl:when>
- <xsl:otherwise>logical/</xsl:otherwise>
- </xsl:choose>
- <xsl:choose >
- <xsl:when test="(@elementType='phys_container') or (@elementType='logical_container')"
- ><xsl:value-of select="@path"/>.html</xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="parentPath">
- <xsl:with-param name="parentName" select="@parentName"/>
- </xsl:call-template>.html#___<xsl:value-of select="@localName" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="contentSection">
- <xsl:value-of select="." disable-output-escaping="yes"/>
- </xsl:template>
-
- <xsl:template match="link">
- <xsl:choose>
- <xsl:when test="string-length(@resolvedPath) > 0">
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:call-template name="writeLink">
- <xsl:with-param name="rootPath"><xsl:value-of select="$rootPath"/></xsl:with-param>
- <xsl:with-param name="refName"><xsl:value-of select="@resolvedPath"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute><xsl:value-of select="." disable-output-escaping="yes"/></xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="content">
- <xsl:apply-templates />
- </xsl:template>
-
-
- <xsl:template match="comment" mode="genCommonAttrs">
- <xsl:if test="count(author/tagContent) != 0">
- <div class="authors">
- <span class="descSection">Authors:</span>
- <xsl:for-each select="author/tagContent">
- <div class="paddedDetails"><xsl:apply-templates select="."/></div>
- </xsl:for-each>
- </div>
- </xsl:if>
- <xsl:if test="count(see/tagContent) != 0">
- <div class="seealso">
- <span class="descSection">See also:</span>
- <xsl:for-each select="see/tagContent">
- <div class="paddedDetails"><xsl:apply-templates select="content"/></div>
- </xsl:for-each>
- </div>
- </xsl:if>
- <xsl:if test="count(version) != 0">
- <div class="version">
- <span class="descSection version">Version:</span>
- <div class="paddedDetails"><xsl:value-of select="$version"/></div>
- </div>
- </xsl:if>
- <xsl:if test="count(timestamp) != 0">
- <div class="generated">
- <span class="descSection">Generated on:</span>
- <div class="paddedDetails"><xsl:value-of select="/jgdoc/project/@timestamp"/> <xsl:text> </xsl:text> <xsl:apply-templates select="version/tagContent"/></div>
- </div>
- </xsl:if>
- <xsl:if test="count(since/tagContent) != 0">
- <div class="since">
- <span class="descSection">Since:</span>
- <div class="paddedDetails"><xsl:apply-templates select="since/tagContent"/></div>
- </div>
- </xsl:if>
- <xsl:if test="count(deprecated/tagContent) != 0">
- <div class="deprecated">
- <span class="descSection">Deprecated</span>
- <div class="paddedDetails"><xsl:apply-templates select="deprecated/tagContent"/></div>
- </div>
- </xsl:if>
- </xsl:template>
-
-
-
- <!-- new stuff -->
-
- <xsl:template match="function|constructor|ifunction|event" mode="writeSummary">
- <xsl:apply-templates select="." mode="writeFuncSummary"/>
- </xsl:template>
-
- <xsl:template match="variable|property" mode="writeSummary">
- <xsl:apply-templates select="." mode="writeVarSummary"/>
- </xsl:template>
-
- <xsl:template match="namespace|class|interface|struct|object" mode="writeSummary">
- <xsl:apply-templates select="." mode="writeLogicalSummary"/>
- </xsl:template>
-
- <xsl:template match="module" mode="writeSummary">
- <div class="summaryItemDef">
- <span class="elementName"><xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
- <xsl:value-of select="comment/name"/>
- </xsl:element></span>
- </div>
- <div class="summaryItemDesc">
- <xsl:apply-templates select="comment/summary/content"/><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
- </div>
- </xsl:template>
-
-
- <xsl:template name="writeRefSummary">
- <xsl:param name="fullName"/>
- <xsl:apply-templates select="/jgdoc/items/*[@id=$fullName]" mode="writeSummary">
- </xsl:apply-templates>
- </xsl:template>
-
- <xsl:template match="children" mode="writeSummary">
- <xsl:param name="elementType"/>
- <xsl:param name="elementName"/>
- <xsl:if test="count(ref[@type=$elementType]) != 0">
- <xsl:element name="div">
- <xsl:attribute name="class">
- <xsl:text>summaryTable </xsl:text>
- <xsl:value-of select="$elementType"/>
- </xsl:attribute>
- <div class="summaryTableHeader" >
- <span class="objType"><xsl:value-of select="$elementName"/></span> Summary
- </div>
- <xsl:for-each select="ref[@type=$elementType]">
- <div class="summaryItem">
- <xsl:call-template name="writeRefSummary">
- <xsl:with-param name="fullName"><xsl:value-of select="@refId"/></xsl:with-param>
- </xsl:call-template>
- </div>
- </xsl:for-each>
- </xsl:element>
- <p/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="writeOverview">
- <xsl:param name="objName"/>
- <div class="overviewItem">
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:call-template name="writeLink">
- <xsl:with-param name="refName"><xsl:value-of select="$objName"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:attribute name="target">classFrame</xsl:attribute>
- <xsl:choose>
- <xsl:when test="/jgdoc/items/*[@id=$objName]/@parentName='_GLOBAL_NAMESPACE'">
- <xsl:value-of select="/jgdoc/items/*[@id=$objName]/comment/name"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="/jgdoc/items/*[@id=$objName]/@id"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </div>
- </xsl:template>
-
- <xsl:template match="children" mode="writeRefOverview">
- <xsl:param name="elementType"/>
- <xsl:param name="elementName"/>
- <xsl:if test="count(ref[@type=$elementType]) != 0">
- <div class="overviewTitle"><xsl:value-of select="$elementName"/></div>
- <xsl:for-each select="ref[@type=$elementType]">
- <xsl:call-template name="writeOverview">
- <xsl:with-param name="objName"><xsl:value-of select="@refId"/></xsl:with-param>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="navbarPhys">
- <xsl:param name="isStartup">no</xsl:param>
- <div class="navbar">
- <xsl:if test="$isStartup='yes'">
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>overview-summary-log.html</xsl:attribute>
- Logical View
- </xsl:element>
- </div>
- </xsl:if>
- <xsl:if test="$isStartup != 'yes'">
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>overview-summary.html</xsl:attribute>
- Start
- </xsl:element>
- </div>
- </xsl:if>
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>jgindex.html</xsl:attribute>
- Index
- </xsl:element>
- </div>
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>jgsearch.html</xsl:attribute>
- Search
- </xsl:element>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template name="navbarLog">
- <xsl:param name="isStartup">no</xsl:param>
- <div class="navbar">
- <xsl:if test="$isStartup='yes'">
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>overview-summary.html</xsl:attribute>
- Physical View
- </xsl:element>
- </div>
- </xsl:if>
- <xsl:if test="$isStartup != 'yes'">
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>overview-summary-log.html</xsl:attribute>
- Start
- </xsl:element>
- </div>
- </xsl:if>
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>jgindex.html</xsl:attribute>
- Index
- </xsl:element>
- </div>
- <div class="navbaritem">
- <xsl:element name="a">
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>jgsearch.html</xsl:attribute>
- Search
- </xsl:element>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="legacies" mode="inheritance">
- <xsl:param name="memberName"/>
- <xsl:param name="memberType"/>
- <xsl:for-each select="legacy[count(legacyItem[@type=$memberType]) != 0]">
- <div class="summaryTable">
- <div class="summaryTableHeader">
- <xsl:value-of select="$memberName"/> inherited from
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:call-template name="writeLink">
- <xsl:with-param name="refName"><xsl:value-of select="@parent"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:value-of select="@parent" />
- </xsl:element>
- </div>
- <div class="inheritanceSummary">
- <xsl:for-each select="legacyItem[@type=$memberType]">
- <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="@idRef"/></xsl:with-param>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:value-of select="@ref" />
- </xsl:element>
- <xsl:text> </xsl:text>
- </xsl:for-each>
- </div>
- </div>
- <br/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="ref" mode="writeDetails">
- <xsl:param name="memberName"/>
- <xsl:param name="memberType"/>
- <xsl:param name="original"/>
- <xsl:param name="modifiers"/>
- <xsl:variable name="curName"><xsl:value-of select="@refId"/></xsl:variable>
-
- <xsl:apply-templates select="/jgdoc/items/*[@id=$curName]" mode="writeDetails">
- <xsl:with-param name="memberName"><xsl:value-of select="$memberName"/></xsl:with-param>
- <xsl:with-param name="memberType"><xsl:value-of select="$memberType"/></xsl:with-param>
- <xsl:with-param name="original"><xsl:value-of select="$original"/></xsl:with-param>
- <xsl:with-param name="modifiers"><xsl:value-of select="$modifiers"/></xsl:with-param>
- </xsl:apply-templates>
-
- </xsl:template>
-
- <xsl:template match="function|constructor|ifunction|event" mode="writeDetails">
- <xsl:param name="memberName"/>
- <xsl:param name="memberType"/>
- <xsl:param name="original"/>
- <xsl:param name="modifiers"/>
- <xsl:variable name="effMods">
- <xsl:choose>
- <xsl:when test="$original = 'true'"><xsl:value-of select="comment/modifiers/@name"/></xsl:when>
- <xsl:otherwise><xsl:value-of select="$modifiers"/></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <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="writeDetails">
- <xsl:with-param name="memberName"><xsl:value-of select="$memberName"/></xsl:with-param>
- <xsl:with-param name="memberType"><xsl:value-of select="$memberType"/></xsl:with-param>
- <xsl:with-param name="modifiers"><xsl:value-of select="$effMods"/></xsl:with-param>
- <xsl:with-param name="original">false</xsl:with-param>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="writeDetails1">
- <xsl:with-param name="memberName"><xsl:value-of select="$memberName"/></xsl:with-param>
- <xsl:with-param name="memberType"><xsl:value-of select="$memberType"/></xsl:with-param>
- <xsl:with-param name="modifiers"><xsl:value-of select="$effMods"/></xsl:with-param>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="variable|property" mode="writeDetails">
- <xsl:param name="original"/>
- <xsl:param name="modifiers"/>
- <xsl:variable name="effMods">
- <xsl:choose>
- <xsl:when test="$original = 'true'"><xsl:value-of select="comment/modifiers/@name"/></xsl:when>
- <xsl:otherwise><xsl:value-of select="$modifiers"/></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <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="writeVarDetails1"/>
- <xsl:with-param name="modifiers"><xsl:value-of select="$effMods"/></xsl:with-param>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="writeVarDetails1">
- <xsl:with-param name="modifiers"><xsl:value-of select="$effMods"/></xsl:with-param>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="variable|property" mode="writeVarDetails1">
- <xsl:param name="modifiers"/>
- <xsl:apply-templates select="comment/srcUrl" mode="writeDetails1"/>
- <h3>
- <xsl:element name="a">
- <xsl:attribute name="name">___<xsl:value-of select='@localName'/>
- </xsl:attribute>
- <span class="objType"><xsl:value-of select="name()"/></span> <xsl:text> </xsl:text> <span class="modifiers"><xsl:value-of select="$modifiers"/></span> <xsl:text> </xsl:text>
- <xsl:apply-templates select="comment/type" /><span class="objName"><xsl:value-of select='@localName' /></span>
- </xsl:element>
- </h3>
- <div class="comment">
- <xsl:apply-templates select='comment/commentContent/content'/>
- </div>
- <xsl:apply-templates select="comment" mode="genCommonAttrs" />
- <xsl:apply-templates select="." mode="physOwner">
- <xsl:with-param name="testNode"><xsl:value-of select='@id'/></xsl:with-param>
- </xsl:apply-templates>
- <hr />
- </xsl:template>
-
- <xsl:template match="param" mode="writeDetails1">
- <div class="param paddedDetails">
- <code><xsl:if test="@optional = 'true'">[</xsl:if><xsl:value-of select="@name"/><xsl:if test="@optional = 'true'">]</xsl:if></code> <xsl:text> </xsl:text>
- <xsl:apply-templates select="content"/>
- <xsl:if test="count(paramOptions/paramoption) != 0">
- <ul class="paramoption">
- <xsl:apply-templates select="paramOptions/paramoption" mode="writeDetails1"/>
- </ul>
- </xsl:if>
- </div>
- </xsl:template>
-
- <xsl:template match="modifiers" mode="writeDetails1">
- <span class="modifiers"><xsl:value-of select="@name"/></span>
- <xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="paramoption" mode="writeDetails1">
- <li >
- <code>
- <xsl:if test="@optional = 'true'">[</xsl:if>
- <xsl:apply-templates select="modifiers" mode="writeDetails1"/>
- <xsl:apply-templates select="type" />
- <xsl:value-of select="@name"/>
- <xsl:if test="@optional = 'true'">]</xsl:if>
- </code> <xsl:text> </xsl:text>
- <xsl:apply-templates select="content"/>
- </li>
- </xsl:template>
-
- <xsl:template match="comment/srcUrl" mode="writeDetails1">
- <xsl:element name="a">
- <xsl:attribute name="class">srcUrlLink</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
- view source
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="function|constructor|ifunction|event" mode="writeDetails1">
- <xsl:param name="memberName"/>
- <xsl:param name="memberType"/>
- <xsl:param name="modifiers"/>
- <xsl:apply-templates select="comment/srcUrl" mode="writeDetails1"/>
- <h3>
- <xsl:element name="a">
- <xsl:attribute name="name">___<xsl:value-of select='@localName'/>
- </xsl:attribute>
- <span class="objType"><xsl:value-of select="$memberType"/></span><xsl:text> </xsl:text>
- <span class="objName"><xsl:value-of select='@localName'/></span>
- </xsl:element>
- </h3>
- <xsl:choose>
- <xsl:when test="count(comment/paramSet) != 0">
- <xsl:for-each select="comment/paramSet">
- <div>
- <code>
- <span class="modifiers"><span class="modifiers"><xsl:value-of select="$modifiers"/></span></span>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="../../comment/type" />
- <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>
- </code>
- </div>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <div>
- <code>
- <span class="modifiers"><xsl:value-of select="$modifiers"/></span>
- <xsl:text> </xsl:text>
- <xsl:apply-templates select="comment/type" />
- <xsl:value-of select="@localName"/>()
- </code>
- </div>
- </xsl:otherwise>
- </xsl:choose>
- <div class="comment">
- <xsl:apply-templates select="comment/commentContent/content" />
- </div>
- <xsl:if test="count(comment/paramSet) != 0">
- <div class="parameters">
- <span class="descSection">Parameters:</span><br/>
- <xsl:for-each select='comment/paramSet'>
- <div class="paramset">
- <xsl:apply-templates select="paramSetDesc/content"/>
- </div>
- <div>
- <xsl:apply-templates select="param" mode="writeDetails1"/>
- </div>
- </xsl:for-each>
- </div>
- </xsl:if>
- <xsl:if test="count(comment/returns/tagContent) > 0">
- <div class="returns">
- <span class="descSection">Returns:</span><br/>
- <div class="paddedDetails">
- <xsl:apply-templates select='comment/returns/tagContent'/>
- <xsl:if test="count(comment/returns/paramOptions/paramoption) != 0">
- <ul class="paramoption">
- <xsl:apply-templates select="comment/returns/paramOptions/paramoption" mode="writeDetails1"/>
- </ul>
- </xsl:if>
- </div>
- </div>
- </xsl:if>
- <xsl:if test="count(comment/throws/tagContent) > 0">
- <div class="throws">
- <span class="descSection">Throws:</span><br/>
- <xsl:for-each select='comment/throws/tagContent/content'>
- <div class="paddedDetails"><xsl:apply-templates select='.'/></div>
- </xsl:for-each>
- </div>
- </xsl:if>
-
- <xsl:apply-templates select="comment" mode="genCommonAttrs" />
-
- <xsl:apply-templates select="." mode="physOwner">
- <xsl:with-param name="testNode"><xsl:value-of select='@id'/></xsl:with-param>
- </xsl:apply-templates>
- <hr />
- </xsl:template>
-
-
- <xsl:template name="writeDetails">
- <xsl:param name="memberName"/>
- <xsl:param name="memberType"/>
- <xsl:param name="objectName"/>
- <xsl:if
- test="count(/jgdoc/items/*[@id=$objectName]/children/ref[@type=$memberType]) != 0">
- <xsl:element name="div">
- <xsl:attribute name="class"><xsl:text>details </xsl:text><xsl:value-of select="$memberType"/></xsl:attribute>
- <h2 class="sectionHeader"><xsl:value-of select="$memberName"/> Details</h2>
- <xsl:for-each
- select="/jgdoc/items/*[@id=$objectName]/children/ref[@type=$memberType]">
- <xsl:apply-templates select="." mode="writeDetails">
- <xsl:with-param name="memberName"><xsl:value-of select="$memberName"/></xsl:with-param>
- <xsl:with-param name="memberType"><xsl:value-of select="$memberType"/></xsl:with-param>
- <xsl:with-param name="original">true</xsl:with-param>
- </xsl:apply-templates>
- </xsl:for-each>
- </xsl:element>
- </xsl:if>
- </xsl:template>
-
-
- <xsl:template match = "*" mode="physOwner">
- <xsl:param name="testNode"/>
- <xsl:variable name='owner' select="@parentName"/>
-
- <xsl:variable name='parentPhys'><xsl:value-of select='/jgdoc/items/*[@id=$owner]/@physOwner'/></xsl:variable>
- <xsl:variable name='phys'><xsl:value-of select='@physOwner'/></xsl:variable>
- <xsl:if test="$phys != $parentPhys">
- <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=$phys]/@path"/>.html</xsl:attribute>
- <xsl:value-of select="/jgdoc/items/*[@id=$phys]/comment/name"/>
- </xsl:element>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="writeCss">
- <xsl:param name="rootPath"/>
- <xsl:param name="aux_path"/>
- <xsl:element name="link">
- <xsl:attribute name="rel">stylesheet</xsl:attribute>
- <xsl:attribute name="type">text/css</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>jgdoc.css</xsl:attribute>
- </xsl:element>
- <xsl:element name="link">
- <xsl:attribute name="rel">stylesheet</xsl:attribute>
- <xsl:attribute name="type">text/css</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/>theme.css</xsl:attribute>
- </xsl:element>
- <xsl:if test="$aux_css != 'not_specified'">
- <xsl:element name="link">
- <xsl:attribute name="rel">stylesheet</xsl:attribute>
- <xsl:attribute name="type">text/css</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="$rootPath"/><xsl:value-of select="$aux_css"/></xsl:attribute>
- </xsl:element>
- </xsl:if>
-
- </xsl:template>
-
-</xsl:stylesheet>