harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadi...@apache.org
Subject svn commit: r517663 [10/14] - in /harmony/standard/site: docs/ docs/documentation/ docs/subcomponents/classlibrary/ docs/subcomponents/drlvm/ xdocs/ xdocs/documentation/ xdocs/stylesheets/ xdocs/subcomponents/classlibrary/ xdocs/subcomponents/drlvm/
Date Tue, 13 Mar 2007 12:17:45 GMT
Modified: harmony/standard/site/xdocs/issue_resolution_guideline.xml
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/issue_resolution_guideline.xml?view=diff&rev=517663&r1=517662&r2=517663
==============================================================================
--- harmony/standard/site/xdocs/issue_resolution_guideline.xml (original)
+++ harmony/standard/site/xdocs/issue_resolution_guideline.xml Tue Mar 13 05:17:43 2007
@@ -1,116 +1,116 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
-
-<document>
-
-<properties>
-	<title>Good Issue Resolution Guideline</title>
-	<author email="dev@harmony.apache.org">Harmony Documentation Team</author>
-</properties>
-
-<body>
-
-	<section name="Good Issue Resolution Guideline">
-    <p>
-      This guideline provides step-by-step instructions on reporting, resolving 
-      and closing issues. If you cannot do one of the steps, then write a comment to the issue.
-    </p>
-       
-    <subsection name="Reporting Issues">
-    
-    <ol>
-        <li>State the expected behavior and the
-            actual behavior of Harmony code explicitly. Use links to 
-            specifications, references, etc.</li>
-        <li>Create a test case as small as possible. A patch
-            to test is highly appreciated.</li>
-        <li>Provide maximum information about steps necessary to reproduce the bug.
-            If a patch for the test has not been supplied, provide as much
-            diagnostic information about the failure as possible: stack trace,
-            failure output, expected output, etc.</li>
-        <li>Use issue links if applicable.</li>
-        <li>Check the issue resolution, when it is committed. Add a comment.</li>
-    </ol>
-   
-    </subsection>
-
-    <subsection name="Resolving Issues">
-      <p>To resolve an issue, define its type first.</p>
-    <p>   
-            If <i>the issue is a non-bug difference, not a bug or invalid</i>,
-            you should do the following:</p>
-            <ol>
-                <li>Discuss the issue on the 
-                <a href="mailing.html">developer mailing list</a>.</li>
-                <li>Add a link to the discussion thread as a comment to the issue.</li>
-            </ol>
-        
-       <p>If <i>the issue is a bug</i>, you should do the following:</p>:
-            <ol>
-                <li>
-                  Notify the community that you started investigation by adding
-                  a comment to the issue and send a message to the 
-                  <a href="mailing.html">developer mailing list</a>.
-                  If you cannot create a patch, add another comment with your 
-                  investigation results.</li>
-                <li>If reporter did not provide a patch to test:
-                    <ul>
-                        <li>Try to create a patch to test.</li>
-                        <li>If you cannot create a patch, write a comment about it.</li>
-                    </ul>
-                </li>
-                <li>
-                  Create a patch to fix the issue. If you have any questions,
-                  discuss them on the <a href="mailing.html">developer mailing list</a>.
-                  Add a link to the discussion as a comment.</li>
-                <li>All pacthes, such as tests and fixes, should be relative to the directory where 
-                the main <code>build.xml</code> is:<br/>
-                <code>https://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk</code>,<br/>
-                or to the module root directory.</li>
-                <li>Test and fix patches should be in different files.</li>
-                <li>If the patch requires adding, removing or moving some files in the repository, 
-                provide the appropriate script.</li>
-                <li>Check that all unit tests pass.</li>
-                <li>If the issue is application-oriented, check the application.</li>
-                <li>Use issue links if applicable.</li>
-            </ol>
-      
-    </subsection>
-
-    <subsection name="Closing Issues">
-      <p>To close an issue, define its type first.</p>
-    <p>
-       If <i>the issue is a non-bug difference, not a bug or invalid</i>, you should close the issue.</p>
-            <p>If <i>the issue is a bug</i>, you should do the following: </p>
-                <ol>
-                    <li>If a patch to test is available, apply it.</li>
-                    <li>Check that the test fails.</li>
-                    <li>Apply the fix for the issue.</li>
-                    <li>Check that test succeeds now.</li>
-                    <li>Make sure that all unit tests pass.</li>
-                    <li>For application-oriented issues, check the application.</li>
-                    <li>If there are any problems on previous steps, post a comment to
-                    JIRA and let "resolution provider" resolve them.</li>
-                    <li>Make sure that the issue reporter is happy with the resolution.</li>
-                    <li>Add revision info into the JIRA issue.</li>
-                </ol>
-         
-    </subsection>
-  </section>
-</body>
-</document>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<document>
+
+<properties>
+	<title>Good Issue Resolution Guideline</title>
+	<author email="dev@harmony.apache.org">Harmony Documentation Team</author>
+</properties>
+
+<body>
+
+	<section name="Good Issue Resolution Guideline">
+    <p>
+      This guideline provides step-by-step instructions on reporting, resolving 
+      and closing issues. If you cannot do one of the steps, then write a comment to the issue.
+    </p>
+       
+    <subsection name="Reporting Issues">
+    
+    <ol>
+        <li>State the expected behavior and the
+            actual behavior of Harmony code explicitly. Use links to 
+            specifications, references, etc.</li>
+        <li>Create a test case as small as possible. A patch
+            to test is highly appreciated.</li>
+        <li>Provide maximum information about steps necessary to reproduce the bug.
+            If a patch for the test has not been supplied, provide as much
+            diagnostic information about the failure as possible: stack trace,
+            failure output, expected output, etc.</li>
+        <li>Use issue links if applicable.</li>
+        <li>Check the issue resolution, when it is committed. Add a comment.</li>
+    </ol>
+   
+    </subsection>
+
+    <subsection name="Resolving Issues">
+      <p>To resolve an issue, define its type first.</p>
+    <p>   
+            If <i>the issue is a non-bug difference, not a bug or invalid</i>,
+            you should do the following:</p>
+            <ol>
+                <li>Discuss the issue on the 
+                <a href="mailing.html">developer mailing list</a>.</li>
+                <li>Add a link to the discussion thread as a comment to the issue.</li>
+            </ol>
+        
+       <p>If <i>the issue is a bug</i>, you should do the following:</p>:
+            <ol>
+                <li>
+                  Notify the community that you started investigation by adding
+                  a comment to the issue and send a message to the 
+                  <a href="mailing.html">developer mailing list</a>.
+                  If you cannot create a patch, add another comment with your 
+                  investigation results.</li>
+                <li>If reporter did not provide a patch to test:
+                    <ul>
+                        <li>Try to create a patch to test.</li>
+                        <li>If you cannot create a patch, write a comment about it.</li>
+                    </ul>
+                </li>
+                <li>
+                  Create a patch to fix the issue. If you have any questions,
+                  discuss them on the <a href="mailing.html">developer mailing list</a>.
+                  Add a link to the discussion as a comment.</li>
+                <li>All pacthes, such as tests and fixes, should be relative to the directory where 
+                the main <code>build.xml</code> is:<br/>
+                <code>https://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk</code>,<br/>
+                or to the module root directory.</li>
+                <li>Test and fix patches should be in different files.</li>
+                <li>If the patch requires adding, removing or moving some files in the repository, 
+                provide the appropriate script.</li>
+                <li>Check that all unit tests pass.</li>
+                <li>If the issue is application-oriented, check the application.</li>
+                <li>Use issue links if applicable.</li>
+            </ol>
+      
+    </subsection>
+
+    <subsection name="Closing Issues">
+      <p>To close an issue, define its type first.</p>
+    <p>
+       If <i>the issue is a non-bug difference, not a bug or invalid</i>, you should close the issue.</p>
+            <p>If <i>the issue is a bug</i>, you should do the following: </p>
+                <ol>
+                    <li>If a patch to test is available, apply it.</li>
+                    <li>Check that the test fails.</li>
+                    <li>Apply the fix for the issue.</li>
+                    <li>Check that test succeeds now.</li>
+                    <li>Make sure that all unit tests pass.</li>
+                    <li>For application-oriented issues, check the application.</li>
+                    <li>If there are any problems on previous steps, post a comment to
+                    JIRA and let "resolution provider" resolve them.</li>
+                    <li>Make sure that the issue reporter is happy with the resolution.</li>
+                    <li>Add revision info into the JIRA issue.</li>
+                </ol>
+         
+    </subsection>
+  </section>
+</body>
+</document>

Modified: harmony/standard/site/xdocs/sitemap.xml
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/sitemap.xml?view=diff&rev=517663&r1=517662&r2=517663
==============================================================================
--- harmony/standard/site/xdocs/sitemap.xml (original)
+++ harmony/standard/site/xdocs/sitemap.xml Tue Mar 13 05:17:43 2007
@@ -1,444 +1,444 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-
-<document>
-
-<properties>
-<title>Apache Harmony Site Map</title>
-<author email="dev@harmony.apache.org">Harmony Documentation Team</author>
-</properties>
-
-<body>
-  <section name="Site Map">
-    <p>The Apache Harmony site map helps the visitors to understand the site structure 
-    and layout and thus, quickly gain access to what the site has to offer. This map 
-    reflects links to all relevant Apache Harmony website pages. 
-    </p>
-  </section>
-
-  <section name="General Issues">
-    <p>
-      <a href="http://harmony.apache.org/">Home</a> - general
-      information about the project, its status, Harmony news and external news stories
-      about the Harmony project
-    </p>
-
-    <p>
-      <a href="license.html">Apache License</a> - terms and
-      conditions for use, reproduction, and distribution
-    </p>
-
-    <p>
-      <a href=" http://apache.org/">Apache Software Foundation</a> - home page of
-      the Apache Software Foundation providing general information about the project,
-      its status, news, etc.
-    </p>
-    <p>
-      <a href="contribution_policy.html">Contribution Policy</a> -
-      information on division of the repository, limitations on committer
-      contributions and policies for committers and contributors
-    </p>
-    <ul>
-      <li>
-        <a href="auth_cont_quest.html">
-          Authorized Contributor Questionnaire
-        </a> - an authorized contributor
-        questionnaire
-      </li>
-
-      <li>
-        <a href="bulk_contribution_checklist.html">
-          Bulk Contribution Checklist
-        </a> - a bulk contribution checklist
-      </li>
-    </ul>
-    <br />
-    <p>
-      <a href="guidelines.html">Project Guidelines </a> - definition of
-      the Apache Harmony Project guidelines and definitions of how conflict
-      is resolved by voting, who is able to vote, and the procedures to follow for
-      proposing and making changes to the Apache products
-    </p>
-
-
-    <p>
-      <a href="newshistory.html">Harmony News Archive</a> - description of
-      the project develment
-    </p>
-
-    <subsection name="For Users">
-      <p>
-        <a href="quickhelp_users.html">
-          Getting
-          Started for Users
-        </a> - the getting started guide for those that
-        wish to use <a href="downloads.html"> pre-built snapshots</a> of
-        Apache Harmony
-      </p>
-      <p>
-        <a href="downloads.html">Project Downloads</a> -
-        you can find all project downloads here, such as snapshot builds and
-        Subversion
-      </p>
-      <p>
-        <a href="faq.html">FAQ</a> - frequently asked questions
-      </p>
-    </subsection>
-
-  </section>
-    
-  <section name="Community">
-    <p>
-      <a href="get-involved.html">Get Involved</a> -
-      general information on how to contribute, give feedback, fix
-      bugs and so on
-    </p>
-    
-    <p>
-      <a href="contributors.html">Who We Are - Apache Harmony Committers</a> -
-      description of the Harmony community and its structure
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/agreements.html">
-        Harmony Developer Agreements and Recommendations
-      </a> - the summary of agreements
-      and recommendations that were discussed on the development mailing list
-      <i>dev@harmony.apache.org</i>
-    </p>
-    <p>
-      <a href="mailing.html">Mailing Lists</a> - the Apache
-      Harmony mailing lists where you can share all your ideas, ask
-      questions and discuss plans
-    </p>
-    <p>
-      <a href="http://issues.apache.org/jira/browse/HARMONY">Bug Tracker</a> - the
-      project to post bugs and other issues on
-    </p>
-    <p>
-      <a href="code_scan_tools.html">
-        Code Scanning Tools
-      </a> - tools to examine code in a more efficient way
-    </p>
- 
-    <p>
-      <a href="related.html">Related Projects</a> - the list of other projects
-      related to open source Java
-    </p>
-     </section>
-
-  <section name="Development">
-
-    <p>
-      <a href="quickhelp_contributors.html">
-        Getting Started for Contributors
-      </a> - the getting started guide for
-      those that wish to checkout and build the source of Apache Harmony
-    </p>
-    <p>
-      <a href="http://harmony.apache.org/svn.html">Apache Harmony Source Code</a> -
-      description of the, the repository and access to it</p>
-    
-    <p>
-      <a href="roadmap.html">Roadmap and TODO</a> -
-      an approximate roadmap for what the project hopes to achieve in the next
-      year and a collection of things that the project community has listed
-      as needing to be done
-    </p>
-    <p>
-      <a href="issue_resolution_guideline.html">
-        When an Issue Occurs
-      </a> - description of action item types, such as
-      long term plans, short term plans, a release plan, a release testing,
-      showstoppers, product changes; general rules for commiters, information
-      on reporting, resolving and closing issues
-
-    </p>
-    <p>
-      <a href="documentation/build_website.html">
-        Building and Deploying the Apache Harmony Website
-      </a> - tools required
-      for the Harmony website build, building and deploying instructions
-    </p>
-    
-    <p>
-      <a href="status.html">What Can We Do Now?</a> -
-      reflects the position of the project
-    </p>
-    <p>
-      <a href="documentation/dev_eclipse.html">
-        Getting Started with Eclipse
-      </a> - instructions on how to set up
-      Eclipse to develop Java code in Apache Harmony, with sections for
-      both DRLVM and class library development
-    </p>
-    <p>
-      <a href="documentation/dev_eclipse_movie.html">
-        Eclipse Movie
-      </a> - a brief webcast for those who want to see a step-by-step
-      guide to configuring Eclipse, and developing a patch to the classlibrary code
-    </p>
-    <p>
-      <a href="performance.html">
-        Performance Data
-      </a> - results obtained on different benchmarks and various hardware and 
-      software system configurations
-    </p>
-    
-  </section>
-    <section name="Documentation">
-    <p>
-      <a href="http://wiki.apache.org/harmony/">Harmony Wiki</a> -
-      the project for additional documentation and discussions
-    </p>  
-    <p>
-      <a href="subcomponents/classlibrary/hdk.html">
-        Harmony Development Kit</a> - description of the HDK layout and its contents
-    </p>
-
-    <subsection name="DRLVM">
-      <p>
-        <a href="subcomponents/drlvm/index.html">
-          DRLVM Navigator
-        </a> - documentation links specific to DRLVM effort
-        underway at Apache Harmony
-      </p>
-      <p>
-        <strong>
-          Developing and Building the Code Documentation
-        </strong>
-      </p>
-      <p>
-        <a href="subcomponents/drlvm/debugging_VM_and_JIT.html">
-          Debugging the DRL Virtual Machine and the JIT Compiler
-        </a> - practical instructions on how to debug the DRL virtual machine and its
-        baseline just-in-time compiler Jitrino.JET
-      </p>
-      <p>
-        <a href="subcomponents/drlvm/getting_started.html">
-          Getting Started with DRLVM
-        </a> - basic usage scenarios of VM: starting an
-        application, working in Eclipse
-      </p>
-      <p>
-        <a href="https://svn.apache.org/viewcvs.cgi/*checkout*/harmony/enhanced/drlvm/trunk/README.txt">
-          README
-        </a> - source package and building instructions for
-        the VM source code
-      </p>
-      <p>
-        <strong>Architecture and Component Documentation</strong>
-      </p>
-
-      <p>
-        <a href="subcomponents/drlvm/developers_guide.html">
-          DRLVM Developer's Guide
-        </a> - in-depth description of the DRLVM
-        internal architecture and components' interaction
-      </p>
-      <ul>
-        <li>
-          
-            <a href="subcomponents\drlvm\encoder_library.html">
-              Encoder Library for
-              IA-32/Intel64
-            </a> - description of the encoder library for code generation; the document focuses
-            on the specifics of the current implementation
-            showing the encoder library structure and role inside the DRL virtual machine
-         
-        </li>
-        <li>
-        <a href="subcomponents/drlvm/EM.html">
-          Execution
-          Manager Component Description
-        </a> - detailed description of the Execution
-        Manager current implementation
-      </li>
-        <li>
-          
-            <a href="subcomponents/drlvm/JIT.html">
-              Jitrino Just-in-time Compiler
-            </a> - detailed description of the DRLVM Jitrino just-in-time
-            compiler implementation; gives details on the internal architecture of the
-            Jitrino.JET baseline compiler and Jitrino.OPT optimizing compiler, as
-            well as processes running inside them
-          
-          <ul>
-            <li>
-             
-                <a href="subcomponents/drlvm/internal_profiler.html">Jitrino Internal Profiler Description</a> -
-                description of the code generator's internal profiler tool (iprof) for Jitrino.OPT just-in-time
-                compiler, which defines the tool, illustrates its sample output and configuration mechanisms
-           
-            </li>
-            <li>
-            
-                <a href="subcomponents/drlvm/JIT_PMF.html">
-                  Jitrino
-                  Pipeline Management Framework
-                </a> - detailed description of the pipeline
-                management framework that provides complete control over just-in-time
-                compilation process through the Java property mechanism; the description
-                covers the PMF application to the command-line interface and to the
-                Jitrino logging system
-              
-            </li>
-          </ul>
-        </li>
-        <li>
-          
-            <a href="subcomponents/drlvm/JVMTI-PopFrame.html">JVMTI Pop Frame</a> -
-            details on the PopFrame implementation as currently done in DRLVM, description of the functions
-            responsible for the operation and gives info on specifics of the current implementation
-          
-
-        </li>
-        <li>
-          
-            <a href="subcomponents/drlvm/kernel_classes.html">
-              Kernel Classes
-            </a> - detailed description of the kernel classes implementation
-            with focus on the native part of kernel classes and the internal kernel classes
-            interface
-          
-        </li>
-        <li>
-          
-            <a href="subcomponents/drlvm/TM.html">Thread Manager</a> -
-            detailed description of the Thread Manager current implementation
-         
-        </li>
-       </ul>
-
-      <p>
-        <a href="subcomponents/drlvm/DoxygenStart.html">DRLVM Source Code Generated Documentation Index</a> -
-        a landing page with links to autogenerated Doxygen documentation for DRLVM interface headers
-      </p>
-      
-      <p>
-        <strong>How-tos and Guides</strong>
-      </p>
-      <p>
-
-        <a href="subcomponents/drlvm/emguide.html">
-          Configuring Execution Manager 
-        </a> - guide to Execution Manager (EM)
-        options and configuration file format
-      </p>
-
-        <p>
-          <a href="subcomponents/drlvm/gc-howto.html">
-            How to Write DRL GC
-          </a> - instructions on creating a custom garbage collector
-          implementation in C++ and configuring the DRL virtual machine to use it
-          with a real-life example of a copying GC implementation (source included)
-        </p>
-
-      </subsection>
-      
-  <subsection name="Class Library">
-    <p>
-      <a href="subcomponents/classlibrary/index.html">
-        Class Library Navigator
-      </a> - documentation links specific to the
-      class library effort underway at Apache Harmony
-    </p>
-        <p>
-      <a href="subcomponents/classlibrary/status.html">
-        Class Library Component Status
-      </a> - comparisons of JDK 1.4 and JDK 1.5. against
-      the Harmony class library snapshots
-    </p>
-
-    <p>
-      <strong>
-        Project Conventions
-      </strong>
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/pkgnaming.html">
-        Class Library Package Naming Conventions
-      </a> - the package naming conventions used in the Apache Harmony Class Library
-    </p>
-
-    <p>
-      <a href="subcomponents/classlibrary/testing.html">
-        Class Library Testing Conventions
-      </a> - description of the PROPOSED
-      placement and package naming conventions for different types of Harmony
-      class library tests; general guidlines and recomendations
-      that might be adapted/modified to reflect module specifics
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/compat.html">
-        Compatibility Guidelines</a> - compatibility goals in the Apache Harmony Class Library
-    </p>
-       <p>
-      <a href="subcomponents/classlibrary/ser_testing.html">
-        Framework for Testing Serialization
-      </a> - guidelines for creating tests and
-      conventions for resource files
-    </p>
-    <p>
-      <strong>Architecture and Guides Documentation</strong>
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/asn1_framework.html">
-        ASN.1 Framework
-      </a> - introduction to the ASN.1 (Abstract Syntax Notation) framework
-      with an overview of ASN.1 types and encoding rules focusing on the
-      characteristics of the current implementation
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/awt.html">
-        Abstract Window Toolkit Framework
-      </a> - description of the AWT (Abstract Window Toolkit) framework covering
-      major design features and internal implementation specifics, such as the
-      event handling mechanism, the focus dispatching flow, appearance handling
-      with custom visual themes and multi-threading support
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/dns_support.html">
-        DNS Service Provider
-      </a> - implementation description of the DNS service provider
-      for the Java Naming Directory Interface (JNDI) including a package overview, a
-      design description and a guide to using the provider
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/java2d.html">
-        Java 2D
-      </a> - introduction to the Java two-dimensional (2D) graphics
-      and image processing technology implementation focusing on the internal
-      specifics of implementation
-    </p>
-    <p>
-      <a href="subcomponents/classlibrary/regexp.html">
-        Regex Processing Framework
-      </a> - overview of the <code>java.util.regex</code>
-      package and implementation architecture focusing on the performance
-      improvement aspects
-    </p>
-      <p>
-     <a href="subcomponents/classlibrary/rmi_provider.html">
-     RMI Registry Service Provider</a> - description of the functionality of the
-          DRL RMI Registry Service Provider for the Java Naming Directory Interface (JNDI)
-          including details on the provider design</p>
-      </subsection>
-</section>
-</body>
-</document>
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<document>
+
+<properties>
+<title>Apache Harmony Site Map</title>
+<author email="dev@harmony.apache.org">Harmony Documentation Team</author>
+</properties>
+
+<body>
+  <section name="Site Map">
+    <p>The Apache Harmony site map helps the visitors to understand the site structure 
+    and layout and thus, quickly gain access to what the site has to offer. This map 
+    reflects links to all relevant Apache Harmony website pages. 
+    </p>
+  </section>
+
+  <section name="General Issues">
+    <p>
+      <a href="http://harmony.apache.org/">Home</a> - general
+      information about the project, its status, Harmony news and external news stories
+      about the Harmony project
+    </p>
+
+    <p>
+      <a href="license.html">Apache License</a> - terms and
+      conditions for use, reproduction, and distribution
+    </p>
+
+    <p>
+      <a href=" http://apache.org/">Apache Software Foundation</a> - home page of
+      the Apache Software Foundation providing general information about the project,
+      its status, news, etc.
+    </p>
+    <p>
+      <a href="contribution_policy.html">Contribution Policy</a> -
+      information on division of the repository, limitations on committer
+      contributions and policies for committers and contributors
+    </p>
+    <ul>
+      <li>
+        <a href="auth_cont_quest.html">
+          Authorized Contributor Questionnaire
+        </a> - an authorized contributor
+        questionnaire
+      </li>
+
+      <li>
+        <a href="bulk_contribution_checklist.html">
+          Bulk Contribution Checklist
+        </a> - a bulk contribution checklist
+      </li>
+    </ul>
+    <br />
+    <p>
+      <a href="guidelines.html">Project Guidelines </a> - definition of
+      the Apache Harmony Project guidelines and definitions of how conflict
+      is resolved by voting, who is able to vote, and the procedures to follow for
+      proposing and making changes to the Apache products
+    </p>
+
+
+    <p>
+      <a href="newshistory.html">Harmony News Archive</a> - description of
+      the project develment
+    </p>
+
+    <subsection name="For Users">
+      <p>
+        <a href="quickhelp_users.html">
+          Getting
+          Started for Users
+        </a> - the getting started guide for those that
+        wish to use <a href="downloads.html"> pre-built snapshots</a> of
+        Apache Harmony
+      </p>
+      <p>
+        <a href="downloads.html">Project Downloads</a> -
+        you can find all project downloads here, such as snapshot builds and
+        Subversion
+      </p>
+      <p>
+        <a href="faq.html">FAQ</a> - frequently asked questions
+      </p>
+    </subsection>
+
+  </section>
+    
+  <section name="Community">
+    <p>
+      <a href="get-involved.html">Get Involved</a> -
+      general information on how to contribute, give feedback, fix
+      bugs and so on
+    </p>
+    
+    <p>
+      <a href="contributors.html">Who We Are - Apache Harmony Committers</a> -
+      description of the Harmony community and its structure
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/agreements.html">
+        Harmony Developer Agreements and Recommendations
+      </a> - the summary of agreements
+      and recommendations that were discussed on the development mailing list
+      <i>dev@harmony.apache.org</i>
+    </p>
+    <p>
+      <a href="mailing.html">Mailing Lists</a> - the Apache
+      Harmony mailing lists where you can share all your ideas, ask
+      questions and discuss plans
+    </p>
+    <p>
+      <a href="http://issues.apache.org/jira/browse/HARMONY">Bug Tracker</a> - the
+      project to post bugs and other issues on
+    </p>
+    <p>
+      <a href="code_scan_tools.html">
+        Code Scanning Tools
+      </a> - tools to examine code in a more efficient way
+    </p>
+ 
+    <p>
+      <a href="related.html">Related Projects</a> - the list of other projects
+      related to open source Java
+    </p>
+     </section>
+
+  <section name="Development">
+
+    <p>
+      <a href="quickhelp_contributors.html">
+        Getting Started for Contributors
+      </a> - the getting started guide for
+      those that wish to checkout and build the source of Apache Harmony
+    </p>
+    <p>
+      <a href="http://harmony.apache.org/svn.html">Apache Harmony Source Code</a> -
+      description of the, the repository and access to it</p>
+    
+    <p>
+      <a href="roadmap.html">Roadmap and TODO</a> -
+      an approximate roadmap for what the project hopes to achieve in the next
+      year and a collection of things that the project community has listed
+      as needing to be done
+    </p>
+    <p>
+      <a href="issue_resolution_guideline.html">
+        When an Issue Occurs
+      </a> - description of action item types, such as
+      long term plans, short term plans, a release plan, a release testing,
+      showstoppers, product changes; general rules for commiters, information
+      on reporting, resolving and closing issues
+
+    </p>
+    <p>
+      <a href="documentation/build_website.html">
+        Building and Deploying the Apache Harmony Website
+      </a> - tools required
+      for the Harmony website build, building and deploying instructions
+    </p>
+    
+    <p>
+      <a href="status.html">What Can We Do Now?</a> -
+      reflects the position of the project
+    </p>
+    <p>
+      <a href="documentation/dev_eclipse.html">
+        Getting Started with Eclipse
+      </a> - instructions on how to set up
+      Eclipse to develop Java code in Apache Harmony, with sections for
+      both DRLVM and class library development
+    </p>
+    <p>
+      <a href="documentation/dev_eclipse_movie.html">
+        Eclipse Movie
+      </a> - a brief webcast for those who want to see a step-by-step
+      guide to configuring Eclipse, and developing a patch to the classlibrary code
+    </p>
+    <p>
+      <a href="performance.html">
+        Performance Data
+      </a> - results obtained on different benchmarks and various hardware and 
+      software system configurations
+    </p>
+    
+  </section>
+    <section name="Documentation">
+    <p>
+      <a href="http://wiki.apache.org/harmony/">Harmony Wiki</a> -
+      the project for additional documentation and discussions
+    </p>  
+    <p>
+      <a href="subcomponents/classlibrary/hdk.html">
+        Harmony Development Kit</a> - description of the HDK layout and its contents
+    </p>
+
+    <subsection name="DRLVM">
+      <p>
+        <a href="subcomponents/drlvm/index.html">
+          DRLVM Navigator
+        </a> - documentation links specific to DRLVM effort
+        underway at Apache Harmony
+      </p>
+      <p>
+        <strong>
+          Developing and Building the Code Documentation
+        </strong>
+      </p>
+      <p>
+        <a href="subcomponents/drlvm/debugging_VM_and_JIT.html">
+          Debugging the DRL Virtual Machine and the JIT Compiler
+        </a> - practical instructions on how to debug the DRL virtual machine and its
+        baseline just-in-time compiler Jitrino.JET
+      </p>
+      <p>
+        <a href="subcomponents/drlvm/getting_started.html">
+          Getting Started with DRLVM
+        </a> - basic usage scenarios of VM: starting an
+        application, working in Eclipse
+      </p>
+      <p>
+        <a href="https://svn.apache.org/viewcvs.cgi/*checkout*/harmony/enhanced/drlvm/trunk/README.txt">
+          README
+        </a> - source package and building instructions for
+        the VM source code
+      </p>
+      <p>
+        <strong>Architecture and Component Documentation</strong>
+      </p>
+
+      <p>
+        <a href="subcomponents/drlvm/developers_guide.html">
+          DRLVM Developer's Guide
+        </a> - in-depth description of the DRLVM
+        internal architecture and components' interaction
+      </p>
+      <ul>
+        <li>
+          
+            <a href="subcomponents\drlvm\encoder_library.html">
+              Encoder Library for
+              IA-32/Intel64
+            </a> - description of the encoder library for code generation; the document focuses
+            on the specifics of the current implementation
+            showing the encoder library structure and role inside the DRL virtual machine
+         
+        </li>
+        <li>
+        <a href="subcomponents/drlvm/EM.html">
+          Execution
+          Manager Component Description
+        </a> - detailed description of the Execution
+        Manager current implementation
+      </li>
+        <li>
+          
+            <a href="subcomponents/drlvm/JIT.html">
+              Jitrino Just-in-time Compiler
+            </a> - detailed description of the DRLVM Jitrino just-in-time
+            compiler implementation; gives details on the internal architecture of the
+            Jitrino.JET baseline compiler and Jitrino.OPT optimizing compiler, as
+            well as processes running inside them
+          
+          <ul>
+            <li>
+             
+                <a href="subcomponents/drlvm/internal_profiler.html">Jitrino Internal Profiler Description</a> -
+                description of the code generator's internal profiler tool (iprof) for Jitrino.OPT just-in-time
+                compiler, which defines the tool, illustrates its sample output and configuration mechanisms
+           
+            </li>
+            <li>
+            
+                <a href="subcomponents/drlvm/JIT_PMF.html">
+                  Jitrino
+                  Pipeline Management Framework
+                </a> - detailed description of the pipeline
+                management framework that provides complete control over just-in-time
+                compilation process through the Java property mechanism; the description
+                covers the PMF application to the command-line interface and to the
+                Jitrino logging system
+              
+            </li>
+          </ul>
+        </li>
+        <li>
+          
+            <a href="subcomponents/drlvm/JVMTI-PopFrame.html">JVMTI Pop Frame</a> -
+            details on the PopFrame implementation as currently done in DRLVM, description of the functions
+            responsible for the operation and gives info on specifics of the current implementation
+          
+
+        </li>
+        <li>
+          
+            <a href="subcomponents/drlvm/kernel_classes.html">
+              Kernel Classes
+            </a> - detailed description of the kernel classes implementation
+            with focus on the native part of kernel classes and the internal kernel classes
+            interface
+          
+        </li>
+        <li>
+          
+            <a href="subcomponents/drlvm/TM.html">Thread Manager</a> -
+            detailed description of the Thread Manager current implementation
+         
+        </li>
+       </ul>
+
+      <p>
+        <a href="subcomponents/drlvm/DoxygenStart.html">DRLVM Source Code Generated Documentation Index</a> -
+        a landing page with links to autogenerated Doxygen documentation for DRLVM interface headers
+      </p>
+      
+      <p>
+        <strong>How-tos and Guides</strong>
+      </p>
+      <p>
+
+        <a href="subcomponents/drlvm/emguide.html">
+          Configuring Execution Manager 
+        </a> - guide to Execution Manager (EM)
+        options and configuration file format
+      </p>
+
+        <p>
+          <a href="subcomponents/drlvm/gc-howto.html">
+            How to Write DRL GC
+          </a> - instructions on creating a custom garbage collector
+          implementation in C++ and configuring the DRL virtual machine to use it
+          with a real-life example of a copying GC implementation (source included)
+        </p>
+
+      </subsection>
+      
+  <subsection name="Class Library">
+    <p>
+      <a href="subcomponents/classlibrary/index.html">
+        Class Library Navigator
+      </a> - documentation links specific to the
+      class library effort underway at Apache Harmony
+    </p>
+        <p>
+      <a href="subcomponents/classlibrary/status.html">
+        Class Library Component Status
+      </a> - comparisons of JDK 1.4 and JDK 1.5. against
+      the Harmony class library snapshots
+    </p>
+
+    <p>
+      <strong>
+        Project Conventions
+      </strong>
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/pkgnaming.html">
+        Class Library Package Naming Conventions
+      </a> - the package naming conventions used in the Apache Harmony Class Library
+    </p>
+
+    <p>
+      <a href="subcomponents/classlibrary/testing.html">
+        Class Library Testing Conventions
+      </a> - description of the PROPOSED
+      placement and package naming conventions for different types of Harmony
+      class library tests; general guidlines and recomendations
+      that might be adapted/modified to reflect module specifics
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/compat.html">
+        Compatibility Guidelines</a> - compatibility goals in the Apache Harmony Class Library
+    </p>
+       <p>
+      <a href="subcomponents/classlibrary/ser_testing.html">
+        Framework for Testing Serialization
+      </a> - guidelines for creating tests and
+      conventions for resource files
+    </p>
+    <p>
+      <strong>Architecture and Guides Documentation</strong>
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/asn1_framework.html">
+        ASN.1 Framework
+      </a> - introduction to the ASN.1 (Abstract Syntax Notation) framework
+      with an overview of ASN.1 types and encoding rules focusing on the
+      characteristics of the current implementation
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/awt.html">
+        Abstract Window Toolkit Framework
+      </a> - description of the AWT (Abstract Window Toolkit) framework covering
+      major design features and internal implementation specifics, such as the
+      event handling mechanism, the focus dispatching flow, appearance handling
+      with custom visual themes and multi-threading support
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/dns_support.html">
+        DNS Service Provider
+      </a> - implementation description of the DNS service provider
+      for the Java Naming Directory Interface (JNDI) including a package overview, a
+      design description and a guide to using the provider
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/java2d.html">
+        Java 2D
+      </a> - introduction to the Java two-dimensional (2D) graphics
+      and image processing technology implementation focusing on the internal
+      specifics of implementation
+    </p>
+    <p>
+      <a href="subcomponents/classlibrary/regexp.html">
+        Regex Processing Framework
+      </a> - overview of the <code>java.util.regex</code>
+      package and implementation architecture focusing on the performance
+      improvement aspects
+    </p>
+      <p>
+     <a href="subcomponents/classlibrary/rmi_provider.html">
+     RMI Registry Service Provider</a> - description of the functionality of the
+          DRL RMI Registry Service Provider for the Java Naming Directory Interface (JNDI)
+          including details on the provider design</p>
+      </subsection>
+</section>
+</body>
+</document>

Modified: harmony/standard/site/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/stylesheets/site.vsl?view=diff&rev=517663&r1=517662&r2=517663
==============================================================================
--- harmony/standard/site/xdocs/stylesheets/site.vsl (original)
+++ harmony/standard/site/xdocs/stylesheets/site.vsl Tue Mar 13 05:17:43 2007
@@ -1,313 +1,313 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-
-
-<!-- start the processing -->
-#document()
-<!-- end the processing -->
-
-## This is where the macro's live
-
-#macro ( table $table)
-<table>
-    #foreach ( $items in $table.getChildren() )
-        #if ($items.getName().equals("tr"))
-            #tr ($items)
-        #end
-    #end
-</table>
-#end
-
-#macro ( tr $tr)
-<tr>
-    #foreach ( $items in $tr.getChildren() )
-        #if ($items.getName().equals("td"))
-            #td ($items)
-        #elseif ($items.getName().equals("th"))
-            #th ($items)
-        #end
-    #end
-</tr>
-#end
-
-#macro ( td $value)
-#if ($value.getAttributeValue("colspan"))
-#set ($colspan = $value.getAttributeValue("colspan"))
-#end
-#if ($value.getAttributeValue("rowspan"))
-#set ($rowspan = $value.getAttributeValue("rowspan"))
-#end
-<td class="TableCell" colspan="$!colspan" rowspan="$!rowspan" >
-    
-        #if ($value.getText().length() != 0 || $value.hasChildren())
-        $value.getContent()
-        #else
-        &nbsp;
-        #end
-</td>
-#end
-
-#macro ( th $value)
-#if ($value.getAttributeValue("colspan"))
-#set ($colspan = $value.getAttributeValue("colspan"))
-#end
-#if ($value.getAttributeValue("rowspan"))
-#set ($rowspan = $value.getAttributeValue("rowspan"))
-#end
-<th class="TableHeading" colspan="$!colspan" rowspan="$!rowspan">
-        #if ($value.getText().length() != 0 || $value.hasChildren())
-        $value.getContent()
-        #else
-        &nbsp;
-        #end
-</th>
-#end
-
-#macro ( projectanchor $name $value )
-#if ($value.startsWith("http://"))
-    <a href="$value">$name</a>
-#elseif ($value.startsWith("/site/"))
-    <a href="http://harmony.apache.org$value">$name</a>
-#else
-    <a href="$relativePath$value">$name</a>
-#end
-#end
-
-#macro ( metaauthor $author $email )
-            <meta name="author" value="$author">
-            <meta name="email" value="$email">
-#end
-
-#macro ( image $value )
-#if ($value.getAttributeValue("width"))
-#set ($width=$value.getAttributeValue("width"))
-#end
-#if ($value.getAttributeValue("height"))
-#set ($height=$value.getAttributeValue("height"))
-#end
-#if ($value.getAttributeValue("align"))
-#set ($align=$value.getAttributeValue("align"))
-#end
-<img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height" align="$!align">
-#end
-
-#macro ( source $value)
-<pre>$escape.getText($value.getText())</pre>
-#end
-
-#macro ( subsection $subsection)
-    
-    <h2>
-        <a name="$subsection.getAttributeValue("name")">$subsection.getAttributeValue("name")</a>
-    </h2>
-      
-    #foreach ( $items in $subsection.getChildren() )
-        #if ($items.getName().equals("img"))
-            #image ($items)
-        #elseif ($items.getName().equals("source"))
-            #source ($items)
-        #elseif ($items.getName().equals("table"))
-            #table ($items)
-        #else
-            $items
-        #end
-    #end
-       
-#end
-
-
-#macro (docinclude $name)
-<div>
-#include($name)
-</div>
-#end
-
-#macro ( section $section)
-    <h1>
-      <a name="$section.getAttributeValue("name")">$section.getAttributeValue("name")</a>
-    </h1>
-    #foreach ( $items in $section.getChildren() )
-        #if ($items.getName().equals("img"))
-            #image ($items)
-        #elseif ($items.getName().equals("source"))
-            #source ($items)
-        #elseif ($items.getName().equals("table"))
-            #table ($items)
-        #elseif ($items.getName().equals("subsection"))
-            #subsection ($items)
-        #else
-            $items
-        #end
-    #end
-    <p><a href="#top">Back to top</a></p>
-#end
-
-#macro ( makeProject )
-
-    <!-- ============================================================ -->
-
-    #set ($menus = $project.getChild("body").getChildren("menu"))
-    #foreach ( $menu in $menus )
-        <p class="menuItem"><strong>$menu.getAttributeValue("name")</strong></p>
-        <ul>
-        #foreach ( $item in $menu.getChildren() )
-            #set ($name = $item.getAttributeValue("name"))
-            <li class="menuItem">#projectanchor($name $item.getAttributeValue("href"))</li>
-           
-            #foreach ( $subitem in $item.getChildren() )
-              #set ($name = $subitem.getAttributeValue("name"))
-               <table>
-              <tr><td class="menuItem">
-                &nbsp;&nbsp;&nbsp;&nbsp;#projectanchor($name $subitem.getAttributeValue("href"))
-                </td></tr>
-              </table>
-            #end            
-            
-        #end
-
-        </ul>
-    #end
-#end
-
-#macro (getProjectImage)
-#if ($project.getChild("logo"))
-#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
-<td>
-#if ( $logoString.startsWith("/") )
-<a href="$project.getAttributeValue("href")"><img  src="$relativePath$logoString" alt="$project.getChild("logo").getText()" /></a>
-#else
-<a href="$project.getAttributeValue("href")"><img  src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" /></a>
-#end
-</td>
-#end
-#end
-
-#macro (printMeta $metaElement)
-<meta #set ($attribs = $metaElement.getAttributes())
-#foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
-#end
-
-#macro (document)
-    <!-- ====================================================================== -->
-    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
-    <!-- Main Page Section -->
-    <!-- ====================================================================== -->
-    <html>
-        <head>
-            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
-
-            #set ($authors = $root.getChild("properties").getChildren("author"))
-            #foreach ( $au in $authors )
-                #metaauthor ( $au.getText() $au.getAttributeValue("email") )
-            #end
-
-           #set ($metas = $root.getChildren("meta"))
-
-            ##    Parse meta directives such as
-            ##    <meta name="keyword" content="harmony, java"/>
-            #foreach ($meta in $metas) #printMeta($meta) #end
-
-            ##    Support for <base> tags.
-            #if ($root.getChild("properties").getChild("base"))
-              #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
-              <base href="$url"/>
-            #end
-
-            <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
-
-            #set ($links = $root.getChild("properties").getChildren("link"))
-            #foreach ( $link in $links )
-            $link
-            #end
-
-        #set ($csspath = "")
-        #if (!$relativePath.equals("."))
-            #set ($csspath = "${relativePath}/")
-        #end
-
-        <link rel="stylesheet" type="text/css" href="${csspath}site.css"/>
-        </head>
-
-        <body>        
-            <table  width="100%" cellspacing="0">
-                <!-- TOP IMAGE -->
-                <tr>
-                    <td align='LEFT'>
-                    <table><tr><td>
-                    #getProjectImage()</td>
-                    </td></tr></table>
-                    </td>
-                    <td align='RIGHT'>
-                    <a href="http://www.apachecon.com/2007/EU/index.html">
-                    <img src="http://www.apache.org/ads/ApacheCon/2007-europe-234x60.png"
-                    	alt="ApacheCon Europe 2007" /></a>                    
-                    </td>
-                </tr>
-            </table>
-            <table width="100%" cellspacing="4">
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
-
-                <tr>
-                    <!-- LEFT SIDE NAVIGATION -->
-                    <td class="menuItem" width="20%" nowrap="true">
-
-                    <!-- special ACon Logo - leave here for next time
-                    <a href="http://www.us.apachecon.com/">
-                        <img src="http://www.apache.org/ads/ApacheCon/2007-europe-125x125.png"
-                             alt="ApacheCon Europe 2007" />
-                    </a> -->
-
-                   <!-- regular menu -->
-
-                    #makeProject()
-                    </td>
-                    <td width="80%" valign="top"><a name="top"></a>
-                    #set ($allSections = $root.getChild("body").getChildren("section"))
-                    #foreach ( $section in $allSections )
-                        #section ($section)
-                    #end
-
-                    #set ($allInclude = $root.getChild("body").getChildren("docinclude"))
-                    #foreach($inc in $allInclude)
-                        #docinclude($inc.getAttributeValue("name"))
-                    #end
-                    </td>
-                </tr>
-
-                <!-- FOOTER -->
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
-                <tr><td colspan="2">
-                    <div class="special"><em>
-                    Copyright &#169; 2003-2007, The Apache Software Foundation
-                    </em></div>
-                </td></tr>
-            </table>
-        </body>
-    </html>
-#end
-
-
-
-
-
-
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+<!-- start the processing -->
+#document()
+<!-- end the processing -->
+
+## This is where the macro's live
+
+#macro ( table $table)
+<table>
+    #foreach ( $items in $table.getChildren() )
+        #if ($items.getName().equals("tr"))
+            #tr ($items)
+        #end
+    #end
+</table>
+#end
+
+#macro ( tr $tr)
+<tr>
+    #foreach ( $items in $tr.getChildren() )
+        #if ($items.getName().equals("td"))
+            #td ($items)
+        #elseif ($items.getName().equals("th"))
+            #th ($items)
+        #end
+    #end
+</tr>
+#end
+
+#macro ( td $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<td class="TableCell" colspan="$!colspan" rowspan="$!rowspan" >
+    
+        #if ($value.getText().length() != 0 || $value.hasChildren())
+        $value.getContent()
+        #else
+        &nbsp;
+        #end
+</td>
+#end
+
+#macro ( th $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<th class="TableHeading" colspan="$!colspan" rowspan="$!rowspan">
+        #if ($value.getText().length() != 0 || $value.hasChildren())
+        $value.getContent()
+        #else
+        &nbsp;
+        #end
+</th>
+#end
+
+#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+    <a href="$value">$name</a>
+#elseif ($value.startsWith("/site/"))
+    <a href="http://harmony.apache.org$value">$name</a>
+#else
+    <a href="$relativePath$value">$name</a>
+#end
+#end
+
+#macro ( metaauthor $author $email )
+            <meta name="author" value="$author">
+            <meta name="email" value="$email">
+#end
+
+#macro ( image $value )
+#if ($value.getAttributeValue("width"))
+#set ($width=$value.getAttributeValue("width"))
+#end
+#if ($value.getAttributeValue("height"))
+#set ($height=$value.getAttributeValue("height"))
+#end
+#if ($value.getAttributeValue("align"))
+#set ($align=$value.getAttributeValue("align"))
+#end
+<img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height" align="$!align">
+#end
+
+#macro ( source $value)
+<pre>$escape.getText($value.getText())</pre>
+#end
+
+#macro ( subsection $subsection)
+    
+    <h2>
+        <a name="$subsection.getAttributeValue("name")">$subsection.getAttributeValue("name")</a>
+    </h2>
+      
+    #foreach ( $items in $subsection.getChildren() )
+        #if ($items.getName().equals("img"))
+            #image ($items)
+        #elseif ($items.getName().equals("source"))
+            #source ($items)
+        #elseif ($items.getName().equals("table"))
+            #table ($items)
+        #else
+            $items
+        #end
+    #end
+       
+#end
+
+
+#macro (docinclude $name)
+<div>
+#include($name)
+</div>
+#end
+
+#macro ( section $section)
+    <h1>
+      <a name="$section.getAttributeValue("name")">$section.getAttributeValue("name")</a>
+    </h1>
+    #foreach ( $items in $section.getChildren() )
+        #if ($items.getName().equals("img"))
+            #image ($items)
+        #elseif ($items.getName().equals("source"))
+            #source ($items)
+        #elseif ($items.getName().equals("table"))
+            #table ($items)
+        #elseif ($items.getName().equals("subsection"))
+            #subsection ($items)
+        #else
+            $items
+        #end
+    #end
+    <p><a href="#top">Back to top</a></p>
+#end
+
+#macro ( makeProject )
+
+    <!-- ============================================================ -->
+
+    #set ($menus = $project.getChild("body").getChildren("menu"))
+    #foreach ( $menu in $menus )
+        <p class="menuItem"><strong>$menu.getAttributeValue("name")</strong></p>
+        <ul>
+        #foreach ( $item in $menu.getChildren() )
+            #set ($name = $item.getAttributeValue("name"))
+            <li class="menuItem">#projectanchor($name $item.getAttributeValue("href"))</li>
+           
+            #foreach ( $subitem in $item.getChildren() )
+              #set ($name = $subitem.getAttributeValue("name"))
+               <table>
+              <tr><td class="menuItem">
+                &nbsp;&nbsp;&nbsp;&nbsp;#projectanchor($name $subitem.getAttributeValue("href"))
+                </td></tr>
+              </table>
+            #end            
+            
+        #end
+
+        </ul>
+    #end
+#end
+
+#macro (getProjectImage)
+#if ($project.getChild("logo"))
+#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+<td>
+#if ( $logoString.startsWith("/") )
+<a href="$project.getAttributeValue("href")"><img  src="$relativePath$logoString" alt="$project.getChild("logo").getText()" /></a>
+#else
+<a href="$project.getAttributeValue("href")"><img  src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" /></a>
+#end
+</td>
+#end
+#end
+
+#macro (printMeta $metaElement)
+<meta #set ($attribs = $metaElement.getAttributes())
+#foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
+#end
+
+#macro (document)
+    <!-- ====================================================================== -->
+    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
+    <!-- Main Page Section -->
+    <!-- ====================================================================== -->
+    <html>
+        <head>
+            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+            #set ($authors = $root.getChild("properties").getChildren("author"))
+            #foreach ( $au in $authors )
+                #metaauthor ( $au.getText() $au.getAttributeValue("email") )
+            #end
+
+           #set ($metas = $root.getChildren("meta"))
+
+            ##    Parse meta directives such as
+            ##    <meta name="keyword" content="harmony, java"/>
+            #foreach ($meta in $metas) #printMeta($meta) #end
+
+            ##    Support for <base> tags.
+            #if ($root.getChild("properties").getChild("base"))
+              #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
+              <base href="$url"/>
+            #end
+
+            <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
+
+            #set ($links = $root.getChild("properties").getChildren("link"))
+            #foreach ( $link in $links )
+            $link
+            #end
+
+        #set ($csspath = "")
+        #if (!$relativePath.equals("."))
+            #set ($csspath = "${relativePath}/")
+        #end
+
+        <link rel="stylesheet" type="text/css" href="${csspath}site.css"/>
+        </head>
+
+        <body>        
+            <table  width="100%" cellspacing="0">
+                <!-- TOP IMAGE -->
+                <tr>
+                    <td align='LEFT'>
+                    <table><tr><td>
+                    #getProjectImage()</td>
+                    </td></tr></table>
+                    </td>
+                    <td align='RIGHT'>
+                    <a href="http://www.apachecon.com/2007/EU/index.html">
+                    <img src="http://www.apache.org/ads/ApacheCon/2007-europe-234x60.png"
+                    	alt="ApacheCon Europe 2007" /></a>                    
+                    </td>
+                </tr>
+            </table>
+            <table width="100%" cellspacing="4">
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+
+                <tr>
+                    <!-- LEFT SIDE NAVIGATION -->
+                    <td class="menuItem" width="20%" nowrap="true">
+
+                    <!-- special ACon Logo - leave here for next time
+                    <a href="http://www.us.apachecon.com/">
+                        <img src="http://www.apache.org/ads/ApacheCon/2007-europe-125x125.png"
+                             alt="ApacheCon Europe 2007" />
+                    </a> -->
+
+                   <!-- regular menu -->
+
+                    #makeProject()
+                    </td>
+                    <td width="80%" valign="top"><a name="top"></a>
+                    #set ($allSections = $root.getChild("body").getChildren("section"))
+                    #foreach ( $section in $allSections )
+                        #section ($section)
+                    #end
+
+                    #set ($allInclude = $root.getChild("body").getChildren("docinclude"))
+                    #foreach($inc in $allInclude)
+                        #docinclude($inc.getAttributeValue("name"))
+                    #end
+                    </td>
+                </tr>
+
+                <!-- FOOTER -->
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+                <tr><td colspan="2">
+                    <div class="special"><em>
+                    Copyright &#169; 2003-2007, The Apache Software Foundation
+                    </em></div>
+                </td></tr>
+            </table>
+        </body>
+    </html>
+#end
+
+
+
+
+
+

Modified: harmony/standard/site/xdocs/stylesheets/site.xsl
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/stylesheets/site.xsl?view=diff&rev=517663&r1=517662&r2=517663
==============================================================================
--- harmony/standard/site/xdocs/stylesheets/site.xsl (original)
+++ harmony/standard/site/xdocs/stylesheets/site.xsl Tue Mar 13 05:17:43 2007
@@ -1,277 +1,277 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- Content Stylesheet for "jakarta-site2" Documentation -->
-<!-- NOTE:  Changes here should also be reflected in "site.vsl" and vice
-     versa, so either Anakia or XSLT can be used for document generation.   -->
-
-
-<!-- Outstanding Compatibility Issues (with Anakia-based stylesheets):
-
-* Handling of the <image> element to insert relative path prefixes
-
-* Functional equivalent of "site_printable.vsl" not yet started.
-
--->
-
-
-<!-- $Id: site.xsl,v 1.7 2003/12/31 14:42:28 tetsuya Exp $ -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  version="1.0">
-
-
-  <!-- Output method -->
-  <xsl:output method="html"
-            encoding="iso-8859-1"
-              indent="no"/>
-
-
-  <!-- Defined parameters (overrideable) -->
-  <xsl:param    name="relative-path" select="'.'"/>
-
-  <!-- Defined variables (non-overrideable) -->
-  <xsl:variable name="body-bg"       select="'#ffffff'"/>
-  <xsl:variable name="body-fg"       select="'#000000'"/>
-  <xsl:variable name="body-link"     select="'#525D76'"/>
-  <xsl:variable name="banner-bg"     select="'#525D76'"/>
-  <xsl:variable name="banner-fg"     select="'#ffffff'"/>
-  <xsl:variable name="sub-banner-bg" select="'#828DA6'"/>
-  <xsl:variable name="sub-banner-fg" select="'#ffffff'"/>
-  <xsl:variable name="table-th-bg"   select="'#039acc'"/>
-  <xsl:variable name="table-td-bg"   select="'#a0ddf0'"/>
-  <xsl:variable name="source-color"  select="'#023264'"/>
-
-
-  <!-- Process an entire document into an HTML page -->
-  <xsl:template match="document">
-    <xsl:variable name="project"
-                select="document('project.xml')/project"/>
-
-    <html>
-    <head>
-    <xsl:apply-templates select="meta"/>
-    <title><xsl:value-of select="$project/title"/> - <xsl:value-of select="properties/title"/></title>
-    <xsl:for-each select="properties/author">
-      <xsl:variable name="name">
-        <xsl:value-of select="."/>
-      </xsl:variable>
-      <xsl:variable name="email">
-        <xsl:value-of select="@email"/>
-      </xsl:variable>
-      <meta name="author" value="{$name}"/>
-      <meta name="email" value="{$email}"/>
-    </xsl:for-each>
-    </head>
-
-    <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}"
-          alink="{$body-link}" vlink="{$body-link}">
-
-    <table border="0" width="100%" cellspacing="4">
-
-      <xsl:comment>PAGE HEADER</xsl:comment>
-      <tr><td colspan="2">
-
-        <xsl:comment>JAKARTA LOGO</xsl:comment>
-        <a href="http://jakarta.apache.org/">
-          <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
-             align="left" alt="The Jakarta Project" border="0"/>
-        </a>
-        <xsl:if test="$project/logo">
-          <xsl:variable name="alt">
-            <xsl:value-of select="$project/logo"/>
-          </xsl:variable>
-          <xsl:variable name="home">
-            <xsl:value-of select="$project/@href"/>
-          </xsl:variable>
-          <xsl:variable name="src">
-            <xsl:value-of select="$project/logo/@href"/>
-          </xsl:variable>
-
-          <xsl:comment>PROJECT LOGO</xsl:comment>
-          <a href="{$home}">
-            <img src="{$src}" align="right" alt="{$alt}" border="0"/>
-          </a>
-        </xsl:if>
-
-      </td></tr>
-
-      <xsl:comment>HEADER SEPARATOR</xsl:comment>
-      <tr>
-        <td colspan="2">
-          <hr noshade="" size="1"/>
-        </td>
-      </tr>
-
-      <tr>
-
-        <xsl:comment>LEFT SIDE NAVIGATION</xsl:comment>
-        <td width="20%" valign="top" nowrap="true">
-          <xsl:apply-templates select="$project/body/menu"/>
-        </td>
-
-        <xsl:comment>RIGHT SIDE MAIN BODY</xsl:comment>
-        <td width="80%" valign="top" align="left">
-          <xsl:apply-templates select="body/section"/>
-        </td>
-
-      </tr>
-
-      <xsl:comment>FOOTER SEPARATOR</xsl:comment>
-      <tr>
-        <td colspan="2">
-          <hr noshade="" size="1"/>
-        </td>
-      </tr>
-
-      <xsl:comment>PAGE FOOTER</xsl:comment>
-      <tr><td colspan="2">
-        <div align="center"><font color="{$body-link}" size="-1"><em>
-        Copyright &#169; 1999-2004, Apache Software Foundation
-        </em></font></div>
-      </td></tr>
-
-    </table>
-    </body>
-    </html>
-
-  </xsl:template>
-
-
-  <!-- Process a menu for the navigation bar -->
-  <xsl:template match="menu">
-    <p><strong><xsl:value-of select="@name"/></strong></p>
-    <ul>
-      <xsl:apply-templates select="item"/>
-    </ul>
-  </xsl:template>
-
-
-  <!-- Process a menu item for the navigation bar -->
-  <xsl:template match="item">
-    <xsl:variable name="href">
-      <xsl:choose>
-            <xsl:when test="starts-with(@href, 'http://')">
-                <xsl:value-of select="@href"/>
-            </xsl:when>
-            <xsl:when test="starts-with(@href, '/site')">
-                <xsl:text>http://jakarta.apache.org</xsl:text><xsl:value-of select="@href"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:value-of select="$relative-path"/><xsl:value-of select="@href"/>
-            </xsl:otherwise>    
-      </xsl:choose>
-    </xsl:variable>
-    <li><a href="{$href}"><xsl:value-of select="@name"/></a></li>
-  </xsl:template>
-
-
-  <!-- Process a documentation section -->
-  <xsl:template match="section">
-    <xsl:variable name="name">
-      <xsl:value-of select="@name"/>
-    </xsl:variable>
-    <table border="0" cellspacing="0" cellpadding="2" width="100%">
-      <!-- Section heading -->
-      <tr><td bgcolor="{$banner-bg}">
-          <font color="{$banner-fg}" face="arial,helvetica.sanserif">
-          <a name="{$name}">
-          <strong><xsl:value-of select="@name"/></strong></a></font>
-      </td></tr>
-      <!-- Section body -->
-      <tr><td><blockquote>
-        <xsl:apply-templates/>
-      </blockquote></td></tr>
-    </table>
-  </xsl:template>
-
-
-  <!-- Process a documentation subsection -->
-  <xsl:template match="subsection">
-    <xsl:variable name="name">
-      <xsl:value-of select="@name"/>
-    </xsl:variable>
-    <table border="0" cellspacing="0" cellpadding="2" width="100%">
-      <!-- Subsection heading -->
-      <tr><td bgcolor="{$sub-banner-bg}">
-          <font color="{$sub-banner-fg}" face="arial,helvetica.sanserif">
-          <a name="{$name}">
-          <strong><xsl:value-of select="@name"/></strong></a></font>
-      </td></tr>
-      <!-- Subsection body -->
-      <tr><td><blockquote>
-        <xsl:apply-templates/>
-      </blockquote></td></tr>
-    </table>
-  </xsl:template>
-
-
-  <!-- Process a source code example -->
-  <xsl:template match="source">
-    <div align="left">
-      <table cellspacing="4" cellpadding="0" border="0">
-        <tr>
-          <td bgcolor="{$source-color}" width="1" height="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-          <td bgcolor="{$source-color}" height="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-          <td bgcolor="{$source-color}" width="1" height="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-        </tr>
-        <tr>
-          <td bgcolor="{$source-color}" width="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-          <td bgcolor="#ffffff" height="1"><pre>
-            <xsl:value-of select="."/>
-          </pre></td>
-          <td bgcolor="{$source-color}" width="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-        </tr>
-        <tr>
-          <td bgcolor="{$source-color}" width="1" height="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-          <td bgcolor="{$source-color}" height="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-          <td bgcolor="{$source-color}" width="1" height="1">
-            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
-          </td>
-        </tr>
-      </table>
-    </div>
-  </xsl:template>
-
-  <!-- specially process td tags ala site.vsl -->
-  <xsl:template match="td">
-    <td bgcolor="{$table-td-bg}" valign="top" align="left">
-        <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
-        <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
-        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
-            <xsl:apply-templates/>
-        </font>
-    </td>
-  </xsl:template>
-  
-  <!-- handle th ala site.vsl -->
-  <xsl:template match="th">
-    <td bgcolor="{$table-th-bg}" valign="top">
-        <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
-        <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
-        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
-            <xsl:apply-templates />
-        </font>
-    </td>
-  </xsl:template>
-  
-  <!-- Process everything else by just passing it through -->
-  <xsl:template match="*|@*">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|*|text()"/>
-    </xsl:copy>
-  </xsl:template>
-
-</xsl:stylesheet>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Content Stylesheet for "jakarta-site2" Documentation -->
+<!-- NOTE:  Changes here should also be reflected in "site.vsl" and vice
+     versa, so either Anakia or XSLT can be used for document generation.   -->
+
+
+<!-- Outstanding Compatibility Issues (with Anakia-based stylesheets):
+
+* Handling of the <image> element to insert relative path prefixes
+
+* Functional equivalent of "site_printable.vsl" not yet started.
+
+-->
+
+
+<!-- $Id: site.xsl,v 1.7 2003/12/31 14:42:28 tetsuya Exp $ -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+
+  <!-- Output method -->
+  <xsl:output method="html"
+            encoding="iso-8859-1"
+              indent="no"/>
+
+
+  <!-- Defined parameters (overrideable) -->
+  <xsl:param    name="relative-path" select="'.'"/>
+
+  <!-- Defined variables (non-overrideable) -->
+  <xsl:variable name="body-bg"       select="'#ffffff'"/>
+  <xsl:variable name="body-fg"       select="'#000000'"/>
+  <xsl:variable name="body-link"     select="'#525D76'"/>
+  <xsl:variable name="banner-bg"     select="'#525D76'"/>
+  <xsl:variable name="banner-fg"     select="'#ffffff'"/>
+  <xsl:variable name="sub-banner-bg" select="'#828DA6'"/>
+  <xsl:variable name="sub-banner-fg" select="'#ffffff'"/>
+  <xsl:variable name="table-th-bg"   select="'#039acc'"/>
+  <xsl:variable name="table-td-bg"   select="'#a0ddf0'"/>
+  <xsl:variable name="source-color"  select="'#023264'"/>
+
+
+  <!-- Process an entire document into an HTML page -->
+  <xsl:template match="document">
+    <xsl:variable name="project"
+                select="document('project.xml')/project"/>
+
+    <html>
+    <head>
+    <xsl:apply-templates select="meta"/>
+    <title><xsl:value-of select="$project/title"/> - <xsl:value-of select="properties/title"/></title>
+    <xsl:for-each select="properties/author">
+      <xsl:variable name="name">
+        <xsl:value-of select="."/>
+      </xsl:variable>
+      <xsl:variable name="email">
+        <xsl:value-of select="@email"/>
+      </xsl:variable>
+      <meta name="author" value="{$name}"/>
+      <meta name="email" value="{$email}"/>
+    </xsl:for-each>
+    </head>
+
+    <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}"
+          alink="{$body-link}" vlink="{$body-link}">
+
+    <table border="0" width="100%" cellspacing="4">
+
+      <xsl:comment>PAGE HEADER</xsl:comment>
+      <tr><td colspan="2">
+
+        <xsl:comment>JAKARTA LOGO</xsl:comment>
+        <a href="http://jakarta.apache.org/">
+          <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
+             align="left" alt="The Jakarta Project" border="0"/>
+        </a>
+        <xsl:if test="$project/logo">
+          <xsl:variable name="alt">
+            <xsl:value-of select="$project/logo"/>
+          </xsl:variable>
+          <xsl:variable name="home">
+            <xsl:value-of select="$project/@href"/>
+          </xsl:variable>
+          <xsl:variable name="src">
+            <xsl:value-of select="$project/logo/@href"/>
+          </xsl:variable>
+
+          <xsl:comment>PROJECT LOGO</xsl:comment>
+          <a href="{$home}">
+            <img src="{$src}" align="right" alt="{$alt}" border="0"/>
+          </a>
+        </xsl:if>
+
+      </td></tr>
+
+      <xsl:comment>HEADER SEPARATOR</xsl:comment>
+      <tr>
+        <td colspan="2">
+          <hr noshade="" size="1"/>
+        </td>
+      </tr>
+
+      <tr>
+
+        <xsl:comment>LEFT SIDE NAVIGATION</xsl:comment>
+        <td width="20%" valign="top" nowrap="true">
+          <xsl:apply-templates select="$project/body/menu"/>
+        </td>
+
+        <xsl:comment>RIGHT SIDE MAIN BODY</xsl:comment>
+        <td width="80%" valign="top" align="left">
+          <xsl:apply-templates select="body/section"/>
+        </td>
+
+      </tr>
+
+      <xsl:comment>FOOTER SEPARATOR</xsl:comment>
+      <tr>
+        <td colspan="2">
+          <hr noshade="" size="1"/>
+        </td>
+      </tr>
+
+      <xsl:comment>PAGE FOOTER</xsl:comment>
+      <tr><td colspan="2">
+        <div align="center"><font color="{$body-link}" size="-1"><em>
+        Copyright &#169; 1999-2004, Apache Software Foundation
+        </em></font></div>
+      </td></tr>
+
+    </table>
+    </body>
+    </html>
+
+  </xsl:template>
+
+
+  <!-- Process a menu for the navigation bar -->
+  <xsl:template match="menu">
+    <p><strong><xsl:value-of select="@name"/></strong></p>
+    <ul>
+      <xsl:apply-templates select="item"/>
+    </ul>
+  </xsl:template>
+
+
+  <!-- Process a menu item for the navigation bar -->
+  <xsl:template match="item">
+    <xsl:variable name="href">
+      <xsl:choose>
+            <xsl:when test="starts-with(@href, 'http://')">
+                <xsl:value-of select="@href"/>
+            </xsl:when>
+            <xsl:when test="starts-with(@href, '/site')">
+                <xsl:text>http://jakarta.apache.org</xsl:text><xsl:value-of select="@href"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$relative-path"/><xsl:value-of select="@href"/>
+            </xsl:otherwise>    
+      </xsl:choose>
+    </xsl:variable>
+    <li><a href="{$href}"><xsl:value-of select="@name"/></a></li>
+  </xsl:template>
+
+
+  <!-- Process a documentation section -->
+  <xsl:template match="section">
+    <xsl:variable name="name">
+      <xsl:value-of select="@name"/>
+    </xsl:variable>
+    <table border="0" cellspacing="0" cellpadding="2" width="100%">
+      <!-- Section heading -->
+      <tr><td bgcolor="{$banner-bg}">
+          <font color="{$banner-fg}" face="arial,helvetica.sanserif">
+          <a name="{$name}">
+          <strong><xsl:value-of select="@name"/></strong></a></font>
+      </td></tr>
+      <!-- Section body -->
+      <tr><td><blockquote>
+        <xsl:apply-templates/>
+      </blockquote></td></tr>
+    </table>
+  </xsl:template>
+
+
+  <!-- Process a documentation subsection -->
+  <xsl:template match="subsection">
+    <xsl:variable name="name">
+      <xsl:value-of select="@name"/>
+    </xsl:variable>
+    <table border="0" cellspacing="0" cellpadding="2" width="100%">
+      <!-- Subsection heading -->
+      <tr><td bgcolor="{$sub-banner-bg}">
+          <font color="{$sub-banner-fg}" face="arial,helvetica.sanserif">
+          <a name="{$name}">
+          <strong><xsl:value-of select="@name"/></strong></a></font>
+      </td></tr>
+      <!-- Subsection body -->
+      <tr><td><blockquote>
+        <xsl:apply-templates/>
+      </blockquote></td></tr>
+    </table>
+  </xsl:template>
+
+
+  <!-- Process a source code example -->
+  <xsl:template match="source">
+    <div align="left">
+      <table cellspacing="4" cellpadding="0" border="0">
+        <tr>
+          <td bgcolor="{$source-color}" width="1" height="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+          <td bgcolor="{$source-color}" height="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+          <td bgcolor="{$source-color}" width="1" height="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+        </tr>
+        <tr>
+          <td bgcolor="{$source-color}" width="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+          <td bgcolor="#ffffff" height="1"><pre>
+            <xsl:value-of select="."/>
+          </pre></td>
+          <td bgcolor="{$source-color}" width="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+        </tr>
+        <tr>
+          <td bgcolor="{$source-color}" width="1" height="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+          <td bgcolor="{$source-color}" height="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+          <td bgcolor="{$source-color}" width="1" height="1">
+            <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+          </td>
+        </tr>
+      </table>
+    </div>
+  </xsl:template>
+
+  <!-- specially process td tags ala site.vsl -->
+  <xsl:template match="td">
+    <td bgcolor="{$table-td-bg}" valign="top" align="left">
+        <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
+        <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+            <xsl:apply-templates/>
+        </font>
+    </td>
+  </xsl:template>
+  
+  <!-- handle th ala site.vsl -->
+  <xsl:template match="th">
+    <td bgcolor="{$table-th-bg}" valign="top">
+        <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
+        <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+            <xsl:apply-templates />
+        </font>
+    </td>
+  </xsl:template>
+  
+  <!-- Process everything else by just passing it through -->
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>



Mime
View raw message