cvs commit: jakarta-alexandria/src/resources/touchgraph tg.html BrowserLauncher.jar nanoxml-2.1.1.jar TGLinkBrowser.jar
[email protected] 11 Apr 2003 12:25:05 -0000
| Newsgroups | gmane.comp.jakarta.alexandria.devel |
|---|---|
| Message-ID | <[email protected]> |
nicolaken 2003/04/11 05:25:05
Added: src/resources/vizant cover.html index.html links.html
main.css top.html xml2dot.xsl xml2html.xsl
xml2tg.xsl
src/resources/javadoc javadoc-v04draft.dtd xml2dot.xsl
src/resources/javasrc styles.css
src/resources/touchgraph tg.html BrowserLauncher.jar
nanoxml-2.1.1.jar TGLinkBrowser.jar
Removed: src/resources javadoc-v04draft.dtd styles.css
Log:
Reorganize resources.
Revision Changes Path
1.1 jakarta-alexandria/src/resources/vizant/cover.html
Index: cover.html
===================================================================
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=ISO8859-1" http-equiv="content-type">
<title>Vizant - Ant task to visualize buildfiles</title>
<link media="all" href="main.css" rel="stylesheet">
</head>
<body>
</body>
</html>
1.1 jakarta-alexandria/src/resources/vizant/index.html
Index: index.html
===================================================================
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Vizant results</title>
</head>
<frameset cols="20%,*">
<frame src="links.html" name="navFrame">
<frameset rows="20%,*">
<frame src="top.html" name="topFrame">
<frame src="cover.html" name="mainFrame">
</frameset>
</frameset>
<noframes>
<H2>Viz</H2>
<a href="links.html">Vizant results</a></noframes>
</html>
1.1 jakarta-alexandria/src/resources/vizant/links.html
Index: links.html
===================================================================
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=ISO8859-1" http-equiv="content-type">
<title>Vizant - Ant task to visualize buildfiles</title>
<link media="all" href="main.css" rel="stylesheet">
</head>
<body>
<h2>results</h2>
<ul>
<li><a target="mainFrame" href="vizant.png">Dot</a></li>
<li><a target="mainFrame" href="vizant.svg">SVG</a></li>
<li><a target="mainFrame" href="build.html">Html</a></li>
<li><a target="mainFrame" href="tg.html">TouchGraph</a></li>
<ul>
</body>
</html>
1.1 jakarta-alexandria/src/resources/vizant/main.css
Index: main.css
===================================================================
body {
background-color: white;
}
h1 {
padding: 0.6em 1.0em;
border-style: solid;
border-width: 1px 1px 5px 1px;
border-color: #9999CC;
color: #444444;
background-color: #eeeeee;
}
h2 {
padding: 0.3em 1.5em;
border-style: solid;
border-width: 1px 1px 1px 5px;
margin: 1em 2% 1em 0;
border-color: #9999CC;
color: #444444;
background-color: #eeeeee;
}
h3 {
padding: 0.2em 1.5em;
border-style: solid;
border-width: 1px 1px 1px 5px;
margin: 1em 2% 1em 0.5em;
border-color: #9999CC;
color: #444444;
background-color: #eeeeee;
}
h4 {
margin: 1em 2% 1em 0.5em;
}
p {
margin: 1em 2% 1em 1em;
text-indent: 1em;
line-height: 130%;
}
ul {
margin: 1em 2% 1em 2em;
text-indent: 1em;
line-height: 140%;
}
hr {
border-style: solid;
border-color: #9999CC;
}
blockquote {
padding: 1.0em 1.0em;
background-color: #f3eeee;
border-width: 1px 1px 1px 1px;
border-style: solid;
border-color: #999999;
line-height: 140%;
}
p.updated {
margin: 0 2% 0 0;
font-size: 0.8em;
text-align: right;
}
p.langselector {
margin: 0 2% 0 0;
text-align: right;
}
address {
text-align: right;
}
img {
border-style: solid;
border-width: 1px;
}
p.footer {
text-align: right;
}
img.banner {
border-style: none;
align: right;
}
1.1 jakarta-alexandria/src/resources/vizant/top.html
Index: top.html
===================================================================
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=ISO8859-1" http-equiv="content-type">
<title>Vizant - Ant task to visualize buildfiles</title>
<link media="all" href="main.css" rel="stylesheet">
</head>
<body>
<h1>Vizant build results</h1>
</body>
</html>
1.1 jakarta-alexandria/src/resources/vizant/xml2dot.xsl
Index: xml2dot.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "text" />
<xsl:template match="graph">
digraph "<xsl:value-of select="@name" />" {
<xsl:apply-templates />
}
</xsl:template>
<xsl:template match="attributes">
<xsl:value-of select="@type" /> [
<xsl:apply-templates select="attribute"/>
];
</xsl:template>
<xsl:template match="attribute">
"<xsl:value-of select="@name" />"="<xsl:value-of select="@value" />",
</xsl:template>
<xsl:template match="node">
"<xsl:value-of select="@id" />";
</xsl:template>
<xsl:template match="edge">
"<xsl:value-of select="@from" />" -> "<xsl:value-of select="@to" />";
</xsl:template>
<xsl:template match="subgraph">
subgraph
<if select="@numcluster">
"cluster:<xsl:value-of select="@numcluster" />"
</if>
{
"label"="<xsl:value-of select="@label" />";
<xsl:apply-templates />
}
</xsl:template>
</xsl:stylesheet>
1.1 jakarta-alexandria/src/resources/vizant/xml2html.xsl
Index: xml2html.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "html" />
<xsl:template match="graph">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO8859-1" />
<title>Vizant - Ant task to visualize buildfiles</title>
<link rel="stylesheet" href="main.css" media="all" />
</head>
<body>
<h1><xsl:value-of select="@name" /></h1>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<!--
<xsl:template match="attributes">
<h3><xsl:value-of select="@type" /></h3>
<xsl:apply-templates select="attribute"/>
</xsl:template>
<xsl:template match="attribute">
<xsl:value-of select="@name" />=<xsl:value-of select="@value" /><br />
</xsl:template>
-->
<xsl:template match="node">
<h2><a name="{@id}"><xsl:value-of select="@id" /></a></h2>
</xsl:template>
<xsl:template match="edge">
<xsl:value-of select="@from" /> -> <a href="#{@to}"><xsl:value-of select="@to" /></a><br />
</xsl:template>
<xsl:template match="subgraph">
<h2>subgraph
<if select="@numcluster">
"cluster:<xsl:value-of select="@numcluster" />"
</if></h2>
<h3>label"="<xsl:value-of select="@label" /></h3>
<xsl:apply-templates />
</xsl:template>
</xsl:stylesheet>
1.1 jakarta-alexandria/src/resources/vizant/xml2tg.xsl
Index: xml2tg.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "xml" />
<xsl:template match="graph">
<TOUCHGRAPH_LB version="1.20">
<NODESET>
<xsl:apply-templates select="node"/>
</NODESET>
<EDGESET>
<xsl:apply-templates select="edge" />
</EDGESET>
<PARAMETERS>
<PARAM name="offsetX" value="627"/>
<PARAM name="rotateSB" value="0"/>
<PARAM name="zoomSB" value="-7"/>
<PARAM name="offsetY" value="19"/>
</PARAMETERS>
</TOUCHGRAPH_LB>
</xsl:template>
<!--
<xsl:template match="attributes">
<h3><xsl:value-of select="@type" /></h3>
<xsl:apply-templates select="attribute"/>
</xsl:template>
<xsl:template match="attribute">
<xsl:value-of select="@name" />"="<xsl:value-of select="@value" /><br />
</xsl:template>
-->
<xsl:template match="node">
<NODE>
<xsl:attribute name="nodeID"><xsl:value-of select="@id"/></xsl:attribute>
<NODE_LOCATION x="534" y="87" visible="true"/>
<NODE_LABEL shape="2" backColor="00A0F0" textColor="FFFFFF" fontSize="18">
<xsl:attribute name="label"><xsl:value-of select="@id"/></xsl:attribute>
</NODE_LABEL>
<NODE_URL url="" urlIsLocal="false" urlIsXML="false"/>
<NODE_HINT width="150" height="-1" isHTML="false"><!-- the description -->
<xsl:attribute name="hint"><xsl:value-of select="@id"/></xsl:attribute>
</NODE_HINT>
</NODE>
</xsl:template>
<xsl:template match="edge">
<EDGE type="1" length="80" visible="true" color="A0A0A0">
<xsl:attribute name="fromID"><xsl:value-of select="@from"/></xsl:attribute>
<xsl:attribute name="toID"><xsl:value-of select="@to"/></xsl:attribute>
</EDGE>
</xsl:template>
<xsl:template match="subgraph">
<NODE>
<xsl:attribute name="nodeID"><xsl:value-of select="@label"/></xsl:attribute>
<NODE_LOCATION x="534" y="87" visible="true"/>
<NODE_LABEL shape="2" backColor="00A0F0" textColor="FFFFFF" fontSize="18">
<xsl:attribute name="label"><xsl:value-of select="@label"/></xsl:attribute>
</NODE_LABEL>
<NODE_URL url="" urlIsLocal="false" urlIsXML="false"/>
<NODE_HINT width="150" height="-1" isHTML="false">
<xsl:attribute name="hint">subgraph:cluster:<xsl:value-of select="@numcluster"/>:<xsl:value-of select="@label"/></xsl:attribute>
</NODE_HINT>
</NODE>
<xsl:apply-templates />
</xsl:template>
</xsl:stylesheet>
1.1 jakarta-alexandria/src/resources/javadoc/javadoc-v04draft.dtd
Index: javadoc-v04draft.dtd
===================================================================
<!-- ===================================================================
Apache JavaDoc DTD (version 0.4-draft)
PURPOSE:
This DTD is designed to capture the output of JavaDoc as an XML document
through the use of the JavaDocXML Doclet. The hope is that by having the
JavaDoc documentation in an XML format, it will be easier for application
developers working with XML to treat their java source documentation in the
same way they treat any other XML document within their publication framework.
This DTD should reflect the information contained within the RootDoc object
passed to the JavaDocXML Doclet by JavaDoc. The RootDoc object and the rest
of the javaDoc Doclet API is specified at
http://java.sun.com/products/jdk/1.2/docs/tooldocs/javadoc/doclet/index.html
The only information that appears to be difficult to derive from this DTD
that is easy to obtain from the RootDoc object is the information about
serialization. However, this information should be derivable by manually
looking for the correct serialization methods and other related structures.
TYPICAL INVOCATION:
<!DOCTYPE document PUBLIC
"-//APACHE//DTD JavaDoc Vx.yz//EN"
"javadoc-vxyz.dtd">
where
x := major version
y := minor version
z := status identifier (optional)
NOTES:
The authors would like to thank the Cocoon's mail list subscribers for
providing such great support and feedback for this DTD.
AUTHORS:
Kenneth Murphy <[email protected]>
FIXME:
CHANGE HISTORY:
199909?? Original idea of XML doclet. (KM)
199910?? Initial version of this DTD. (KM)
19991129 Cleaned up DTD. (SM)
COPYRIGHT:
Copyright (c) 2002 The Apache Software Foundation.
Permission to copy in any form is granted provided this notice is
included in all copies. Permission to redistribute is granted
provided this file is distributed untouched in all its parts and
included files.
==================================================================== -->
<!-- =============================================================== -->
<!-- Common Attribute Entities -->
<!-- =============================================================== -->
<!ENTITY % name 'name CDATA #REQUIRED'>
<!ENTITY % dimension 'dimension CDATA #REQUIRED'>
<!ENTITY % abstract 'abstract (true | false) "false"'>
<!ENTITY % anonymous 'anonymous (true | false) "false"'>
<!ENTITY % synthetic 'synthetic (true | false) "false"'>
<!ENTITY % static 'static (true | false) "false"'>
<!ENTITY % final 'final (true | false) "false"'>
<!ENTITY % transient 'transient (true | false) "false"'>
<!ENTITY % volatile 'volatile (true | false) "false"'>
<!ENTITY % native 'native (true | false) "false"'>
<!ENTITY % synchronized 'synchronized (true | false) "false"'>
<!ENTITY % access 'access (private | package | protected | public) "package"'>
<!ENTITY % class.access 'access (package | public) "package"'>
<!ENTITY % extensibility 'extensibility (abstract | final | default) "default"'>
<!-- =============================================================== -->
<!-- Javadoc -->
<!-- =============================================================== -->
<!ELEMENT javadoc (package*, class*, interface*)>
<!-- =============================================================== -->
<!-- Package -->
<!-- =============================================================== -->
<!ELEMENT package (doc?, package*, class*, interface*)>
<!ATTLIST package %name;>
<!-- =============================================================== -->
<!-- Class -->
<!-- =============================================================== -->
<!ELEMENT class (doc?,
extends_class?,
implements?,
field*,
constructor*,
method*,
innerclass*)>
<!ATTLIST class
%name;
%extensibility;
%class.access;>
<!ELEMENT extends_class (classref+)>
<!ELEMENT innerclass (doc?,
extends?,
implements?,
field*,
constructor*,
method*)>
<!ATTLIST innerclass
%name;
%access;
%abstract;
%anonymous;
%final;
%static;>
<!-- =============================================================== -->
<!-- Interface -->
<!-- =============================================================== -->
<!ELEMENT interface (doc?,
extends_interface?,
field*,
method*)>
<!ATTLIST interface
%name;
%access;>
<!ELEMENT extends_interface (interfaceref+)>
<!-- =============================================================== -->
<!-- Elements -->
<!-- =============================================================== -->
<!ELEMENT implements (interfaceref+)>
<!ELEMENT throws (classref)+>
<!ELEMENT classref EMPTY>
<!ATTLIST classref %name;>
<!ELEMENT interfaceref EMPTY>
<!ATTLIST interfaceref %name;>
<!ELEMENT methodref EMPTY>
<!ATTLIST methodref %name;>
<!ELEMENT packageref EMPTY>
<!ATTLIST packageref %name;>
<!ELEMENT primitive EMPTY>
<!ATTLIST primitive
type (void | boolean | int | long | byte | short | double | float | char) #REQUIRED>
<!ELEMENT field (doc?, (classref | interfaceref | primitive))>
<!ATTLIST field
%name;
%access;
%dimension;
%synthetic;
%static;
%final;
%transient;
%volatile;>
<!ELEMENT constructor (doc?, parameter*, throws*)>
<!ATTLIST constructor
%name;
%access;
%synthetic;>
<!ELEMENT method (doc?, returns, parameter*, throws*)>
<!ATTLIST method
%name;
%access;
%extensibility;
%native;
%synthetic;
%static;
%synchronized;>
<!ELEMENT returns (classref | interfaceref | primitive)>
<!ATTLIST returns %dimension;>
<!ELEMENT parameter (classref | interfaceref | primitive)>
<!ATTLIST parameter
%name;
%final;
%dimension;>
<!ELEMENT dimension (#PCDATA)>
<!ELEMENT doc (#PCDATA |
linktag |
authortag |
versiontag |
paramtag |
returntag |
exceptiontag |
throwstag |
seetag |
sincetag |
deprecatedtag |
serialtag |
serialfieldtag |
serialdatatag)*>
<!ELEMENT linktag (#PCDATA)>
<!ATTLIST linktag
src CDATA #REQUIRED>
<!ELEMENT authortag (#PCDATA | linktag)*>
<!ELEMENT versiontag (#PCDATA | linktag)*>
<!ELEMENT paramtag (#PCDATA | linktag)*>
<!ATTLIST paramtag %name;>
<!ELEMENT returntag (#PCDATA | linktag)*>
<!ELEMENT exceptiontag (#PCDATA | classref | linktag)*>
<!ELEMENT throwstag (#PCDATA | classref | linktag)*>
<!ELEMENT seetag (#PCDATA | linktag)*>
<!ATTLIST seetag
src CDATA #REQUIRED>
<!ELEMENT sincetag (#PCDATA | linktag)*>
<!ELEMENT deprecatedtag (#PCDATA | linktag)*>
<!ELEMENT serialtag (#PCDATA | linktag)*>
<!ELEMENT serialfieldtag (#PCDATA | linktag)*>
<!ATTLIST serialfieldtag
fieldname CDATA #REQUIRED
fieldtype CDATA #REQUIRED>
<!ELEMENT serialdatatag (#PCDATA | linktag)*>
<!-- =============================================================== -->
<!-- End of DTD -->
<!-- =============================================================== -->
1.1 jakarta-alexandria/src/resources/javadoc/xml2dot.xsl
Index: xml2dot.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "text"
omit-xml-declaration="yes"/>
<!--
c46 [label="CharScanner"];
c46 -> c45 [dir=back,arrowtail=empty];
c42 -> c45 [dir=back,arrowtail=empty,style=dashed]; //org.apache.alexandria.javasrc.xref.JavaLexer implements antlr.CharScanner
// org.apache.alexandria.jsdoc.GenerateHTMLDoc
c47 [label="{GenerateHTMLDoc\n||}"];
// org.apache.alexandria.jsdoc.GenerateHTMLIndex
c48 [label="{GenerateHTMLIndex\n||}"];
// org.apache.alexandria.jsdoc.JSDocTask
c49 [label="{JSDocTask\n||}"];
//org.apache.alexandria.jsdoc.JSDocTask extends org.apache.tools.ant.Task
// org.apache.tools.ant.Task
c50 [label="{Task\n||}", fontname="Helvetica-Oblique"];
c50 -> c49 [dir=back,arrowtail=empty];
-->
<xsl:template match="javadoc">#!/usr/local/bin/dot
#
# Class diagram
# Generated by $Id: xml2dot.xsl,v 1.1 2003/04/11 12:25:04 nicolaken Exp $
#
digraph G {
ranksep=1.4;
edge [fontname="Helvetica",fontsize=9,labelfontname="Helvetica",labelfontsize=9];
node [fontname="Helvetica",fontsize=9,shape=record];
cluster [fontname="Helvetica",fontsize=9,shape=record];
<xsl:apply-templates/>
<xsl:for-each select="package/class">
<xsl:if test="extends_class and extends_class/classref/@name!='java.lang.Object'">
<xsl:call-template name="fullname">
<xsl:with-param name="name" select="extends_class/classref/@name"/>
</xsl:call-template>
->
<xsl:call-template name="fullname">
<xsl:with-param name="name" select="../@name"/>
<xsl:with-param name="parentname" select="@name"/>
</xsl:call-template> [dir=back,arrowtail=empty];
</xsl:if>
<xsl:if test="implements">
<xsl:for-each select="implements/interfaceref">
<xsl:call-template name="fullname">
<xsl:with-param name="name" select="../../../@name"/>
<xsl:with-param name="parentname" select="../../@name"/>
</xsl:call-template>
->
<xsl:call-template name="fullname">
<xsl:with-param name="name" select="@name"/>
</xsl:call-template>
[dir=back,arrowtail=empty,style=dashed];
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="package/interface">
<xsl:if test="extends_class and extends_class/classref/@name!='java.lang.Object'">
<xsl:value-of select="extends_class/classref/@name"/> -> <xsl:value-of select="../@name"/>.<xsl:value-of select="@name"/> [dir=back,arrowtail=empty];
</xsl:if>
<xsl:if test="implements">
<xsl:for-each select="implements/interfaceref">
<xsl:value-of select="../../../@name"/>.<xsl:value-of select="../../@name"/> -> <xsl:value-of select="@name"/> [dir=back,arrowtail=empty,style=dashed];
</xsl:for-each>
</xsl:if>
</xsl:for-each>
}
</xsl:template>
<xsl:template match="package">
subgraph cluster<xsl:call-template name="fullname">
<xsl:with-param name="name" select="@name"/>
</xsl:call-template> {
node [style=filled];
<xsl:apply-templates/>
<!-- rank same, min, max, source or sink
rankdir TB LR (left to right) or TB (top to bottom)
ranksep .75 separation between ranks, in inches.
ratio approximate aspect ratio desired, fill or auto
remincross if true and there are multiple clusters, re-run crossing minimization
-->
<!-- rank=same;
rankdir=TB;
ranksep=1;
ratio=fill;
remincross=true;
-->
label = "<xsl:value-of select="@name"/>";
color="#000000";
fillcolor="#dddddd";
}
</xsl:template>
<xsl:template match="class">
<xsl:call-template name="fullname">
<xsl:with-param name="name" select="../@name"/>
<xsl:with-param name="parentname" select="@name"/>
</xsl:call-template> [
<xsl:choose>
<xsl:when test="@extensiblity='abstract'">
color="#848684", fillcolor="#ced7ce", fontname="Helvetica-Italic"
</xsl:when>
<xsl:otherwise>
color="#9c0031", fillcolor="#ffffce",
</xsl:otherwise>
</xsl:choose>
<!-- need to replace newline chars with \n -->
<!--comment="<xsl:value-of select="doc" />" ,-->
URL="<xsl:call-template name="filepath">
<xsl:with-param name="name" select="../@name"/>
<xsl:with-param name="parentname" select="@name"/>
</xsl:call-template>",
style=filled,
label="{<xsl:value-of select="@name"/>\n|<!--
--><xsl:if test="show">
<xsl:for-each select = "field">
<xsl:choose>
<xsl:when test="@access='public'">+</xsl:when>
<xsl:when test="@access='private'">-</xsl:when>
<xsl:when test="@access='protected'">#</xsl:when>
<xsl:otherwise>/</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="substring-after-last">
<xsl:with-param name="input" select="returns/primitive/@type" />
<xsl:with-param name="marker" select="'.'" />
</xsl:call-template>
<xsl:call-template name="substring-after-last">
<xsl:with-param name="input" select="returns/classref/@name" />
<xsl:with-param name="marker" select="'.'" />
</xsl:call-template>\l<!--
--></xsl:for-each>
</xsl:if>|<xsl:if test="show"><!--
constructor
--><xsl:for-each select = "method">
<xsl:choose>
<xsl:when test="@access='public'">+</xsl:when>
<xsl:when test="@access='private'">-</xsl:when>
<xsl:when test="@access='protected'">#</xsl:when>
<xsl:otherwise>/</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="substring-after-last">
<xsl:with-param name="input" select="returns/primitive/@type" />
<xsl:with-param name="marker" select="'.'" />
</xsl:call-template>
<xsl:call-template name="substring-after-last">
<xsl:with-param name="input" select="returns/classref/@name" />
<xsl:with-param name="marker" select="'.'" />
</xsl:call-template><xsl:text> </xsl:text><xsl:value-of select="@name" />( <!--
--><xsl:for-each select = "parameter">
<xsl:value-of select="primitive/@type" />
<xsl:call-template name="substring-after-last">
<xsl:with-param name="input" select="classref/@name" />
<xsl:with-param name="marker" select="'.'" />
</xsl:call-template>,<!--
--></xsl:for-each>)\l<!--
--></xsl:for-each><!--
--></xsl:if>}"];
</xsl:template>
<xsl:template match="interface">
<xsl:call-template name="fullname">
<xsl:with-param name="name" select="../@name"/>
<xsl:with-param name="parentname" select="@name"/>
</xsl:call-template> [ color="#9c0031", fillcolor="#deffff", label="{«interface»\n<xsl:value-of select="@name"/>\n}"];
</xsl:template>
<xsl:template match="doc">
</xsl:template>
<xsl:template match="extends">
</xsl:template>
<xsl:template match="field">
</xsl:template>
<xsl:template match="constructor">
</xsl:template>
<xsl:template match="method">
</xsl:template>
<xsl:template name="fullname">
<xsl:param name="name"/>
<xsl:param name="parentname"/>
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="$name"/>
<xsl:with-param name="replace" select="'.'"/>
<xsl:with-param name="with" select="'_'"/>
</xsl:call-template><xsl:if test = "$parentname!=''">_</xsl:if><xsl:call-template name="replace-string">
<xsl:with-param name="text" select="$parentname"/>
<xsl:with-param name="replace" select="'.'"/>
<xsl:with-param name="with" select="'_'"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="filepath">
<xsl:param name="name"/>
<xsl:param name="parentname"/>
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="$name"/>
<xsl:with-param name="replace" select="'.'"/>
<xsl:with-param name="with" select="'/'"/>
</xsl:call-template><xsl:if test = "$parentname!=''">/</xsl:if><xsl:call-template name="replace-string">
<xsl:with-param name="text" select="$parentname"/>
<xsl:with-param name="replace" select="'.'"/>
<xsl:with-param name="with" select="'/'"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="replace-string">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text,$replace)">
<xsl:value-of select="substring-before($text,$replace)"/>
<xsl:value-of select="$with"/>
<xsl:call-template name="replace-string">
<xsl:with-param name="text"
select="substring-after($text,$replace)"/>
<xsl:with-param name="replace" select="$replace"/>
<xsl:with-param name="with" select="$with"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="substring-after-last">
<xsl:param name="input" />
<xsl:param name="marker" />
<xsl:choose>
<xsl:when test="contains($input,$marker)">
<xsl:call-template name="substring-after-last">
<xsl:with-param name="input"
select="substring-after($input,$marker)" />
<xsl:with-param name="marker" select="$marker" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$input" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
1.1 jakarta-alexandria/src/resources/javasrc/styles.css
Index: styles.css
===================================================================
body { font-family: lucida, verdana, arial, sans-serif; font-size:9pt }
pre { font-size:9pt }
.comment { color:darkred }
.linenum { color:blue;font-weight:normal; color:#888 }
.classDef { color:#080;font-weight:bold }
.classRef { color:#060;font-weight:normal }
.methodDef { color:blue;font-weight:bold }
.methodRef { color:#009;font-weight:normal }
.varDef { color:#870;font-weight:bold }
.varRef { color:#660;font-weight:normal }
.packageListItem { font-family: lucida, verdana, arial, sans-serif;
margin:0; padding:0; border:0 }
.packageName { font-family: lucida, verdana, arial, sans-serif;
font-weight:bold }
.textDiv { font-family: lucida, verdana, arial, sans-serif;
font-weight:bold }
.classListItem { font-family: lucida, verdana, arial, sans-serif;
margin:0; padding:0; border:0 }
.classReflist { border-bottom:solid }
.classReflistHeader { font-weight:bold;
border:0; margin:0; padding:0 }
.classRefItem { margin:0; padding:0; border:0 }
p.classRefItem a { color:#060 }
p.classReflistHeader a { color:#080 }
.methodReflist { }
.methodReflistHeader { font-weight:bold;
border:0; margin:0; padding:0}
.methodRefItem { margin:0; padding:0; border:0; color:#009 }
p.methodRefItem a { color:#009 }
p.methodReflistHeader a { color:blue }
.variableReflist { }
.variableReflistHeader { font-weight:bold;
border:0; margin:0; padding:0}
.variableRefItem { margin:0; padding:0; border:0; color:#660 }
p.variableRefItem a { color:#660 }
p.variableRefListheader a { color:#870 }
1.1 jakarta-alexandria/src/resources/touchgraph/tg.html
Index: tg.html
===================================================================
<html>
<head>
<title>TouchGraph LinkBrowser</title>
</head>
<body>
<center>
<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.3 -->
<SCRIPT LANGUAGE="JavaScript"><!--
var _info = navigator.userAgent; var _ns = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 100% HEIGHT = 100% codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"><NOEMBED><XMP>');
else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.3" CODE = "com.touchgraph.linkbrowser.LinkBrowserApplet.class" ARCHIVE = "TGLinkBrowser.jar, nanoxml-2.1.1.jar, BrowserLauncher.jar" initialXmlFile = "InitialXML._xml" WIDTH = 100% HEIGHT = 100% browser = "yes" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE = "com.touchgraph.linkbrowser.LinkBrowserApplet.class" ARCHIVE = "TGLinkBrowser.jar, nanoxml-2.1.1.jar, BrowserLauncher.jar" WIDTH = 100% HEIGHT = 100%></XMP>
<PARAM NAME = CODE VALUE = "com.touchgraph.linkbrowser.LinkBrowserApplet.class" >
<PARAM NAME = ARCHIVE VALUE = "TGLinkBrowser.jar, nanoxml-2.1.1.jar, BrowserLauncher.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME = "browser" VALUE ="yes">
<param name=targetFrame value= "targetFrame">
<param name=externalFrame value= "externalFrame">
<param name=initialXmlFile value="InitialXML._xml">
<!-- <param name=initialNode value=""> -->
</APPLET>
</NOEMBED></EMBED></OBJECT>
</body>
</html>
1.1 jakarta-alexandria/src/resources/touchgraph/BrowserLauncher.jar
<<Binary file>>
1.1 jakarta-alexandria/src/resources/touchgraph/nanoxml-2.1.1.jar
<<Binary file>>
1.1 jakarta-alexandria/src/resources/touchgraph/TGLinkBrowser.jar
<<Binary file>>