You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/09/10 11:33:40 UTC
svn commit: r574189 [5/10] - in /harmony/standard/site: docs/
docs/documentation/milestones/ docs/subcomponents/drlvm/ xdocs/
xdocs/documentation/ xdocs/stylesheets/ xdocs/subcomponents/classlibrary/
xdocs/subcomponents/drlvm/
Modified: harmony/standard/site/xdocs/sitemap.xml
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/sitemap.xml?rev=574189&r1=574188&r2=574189&view=diff
==============================================================================
--- harmony/standard/site/xdocs/sitemap.xml (original)
+++ harmony/standard/site/xdocs/sitemap.xml Mon Sep 10 02:33:37 2007
@@ -1,405 +1,405 @@
-<?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>
- <style type="text/css">
- #navigationmenu {
- display: none;
- }
-
- #top { /* Main Content */
- margin-left: 0;
- width: 100%;
- clear: both;
- }
-
- td {
- vertical-align: top;
- }
- </style>
- </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>
-
- <table>
- <tr>
- <td width="50%">
- <h2>General</h2>
- <p>
- <a href="http://harmony.apache.org/">Apache Harmony Home</a>: status, news,
- external stories
- </p>
- <p>
- <a href="http://apache.org/"> Apache Software Foundation Home</a>:
- general information about the project, status, news, etc.
- </p>
- <p>
- <a href="presentations_papers.html">Presentations and Research Papers</a>:
- background, motivation, status and future of Apache Harmony project
- </p>
- <p>
- <a href="related.html">Other Projects</a> related to open-source Java*
- </p>
- <p>
- <a href="newshistory.html">Harmony News Archive</a> relocated from the Home page
- </p>
- <p>
- <a href="http://wiki.apache.org/harmony/">Harmony Wiki</a> discussions
- </p>
- <p>
- <a href="license.html">Apache License</a>: terms and
- conditions for use, reproduction, and distribution
- </p>
- <p>
- <a href="contribution_policy.html">Contribution Policy</a>, limitations on
- committer contributions and repository organization
- </p>
- <p>
- <a href="auth_cont_quest.html">
- Authorized Contributor Questionnaire
- </a>
- </p>
- <p>
- <a href="bulk_contribution_checklist.html">
- Bulk Contribution Checklist
- </a>
- </p>
-
- </td>
- <td width="50%">
- <h2>Community</h2>
-
- <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="roadmap.html">Roadmap and TODO</a>: project's hopes
- and required changes for the next year
- </p>
- <p>
- <a href="status.html">What Can We Do Now?</a>: lower-level plans and tasks
- </p>
-
- <p>
- <a href="guidelines.html">Project Guidelines</a>: voting rights and conflicts
- resolution, procedures for proposing and making changes to the product, etc
- </p>
- <p>
- <a href="issue_resolution_guideline.html">
- When an Issue Occurs</a>:
- description of action item types, general rules for commiters, information
- on reporting, resolving and closing issues
- </p>
- <p>
- <a href="contributors.html">Who We Are</a>: defining roles of contributors,
- committers, and PMC with the current Committers' List
- </p>
- <p>
- <a href="subcomponents/classlibrary/agreements.html">
- Developer Agreements and Recommendations</a>
- summary from <i>dev@harmony.apache.org</i>
- </p>
-
- <p>
- <a href="mailing.html">Mailing Lists</a>: subscription and scope of the lists
- </p>
- <p>
- <a href="http://issues.apache.org/jira/browse/HARMONY">JIRA</a> bug tracker
- </p>
- <p>
- <a href="svn.html">Source Code</a> structure and access
- </p>
- <p>
- <a href="code_scan_tools.html">
- Code Scanning Tools
- </a>
- </p>
-
- </td>
- </tr>
- <tr>
- <td>
- <h2>For Users</h2>
- <p>
- <a href="quickhelp_users.html">
- Getting
- Started for Users</a>
- gives a quick start with a pre-built snapshot of Harmony JRE
- </p>
- <p>
- <a href="cmd_options.html">Command-line Options</a> reference with all
- non-standard support options specified
- </p>
- <p>
- <a href="faq.html">FAQ</a>: Frequently asked questions
- </p>
- <p>
- <a href="downloads.html">Project Downloads</a>: subversioned source code
- and pre-built snapshots
- </p>
- <p>
- <a href="bundles.html">Harmony bundles</a> with other projects
- </p>
- <h3>Milestones of Apache Harmony Runtime Environment</h3>
- <p>
- <a href="documentation/milestones/m2-relnotes.html">M2 milestone:</a>
- stable build targeted at completeness and compatibility for Windows* and
- Linux* IA-32 systems
- </p>
- <p><a href="documentation/milestones/m3-relnotes.html">M3 milestone:</a>
- planned to be ready in Sept'07
- </p>
- </td>
-
- <td>
- <h2>For Developers</h2>
- <p>
- <a href="quickhelp_contributors.html">
- Getting Started for Contributors</a>
- instructs on how to check out and build the source code
- </p>
- <p>
- <a href="http://people.apache.org/~mloenko/snapshot_testing/script/snapshots_summary.html">Snapshots for 1.5.0</a> for
- all supported platforms with revision and test results specified
- </p>
- <p>
- <a href="hdk.html">
- Harmony Development Kit</a>: definition and layout
- </p>
-
- <p>
- <a href="documentation/dev_eclipse.html">
- Getting Started with Eclipse</a>
- to develop Java code in Apache Harmony, featuring
- <a href="documentation/dev_eclipse_movie.html">
- a
- movie</a>
- with a step-by-step guide to configuring Eclipse
- </p>
- <p>
- <a href="documentation/build_website.html">
- How to build and deploy the website
- </a>
- </p>
- <p>
- <a href="performance.html">Performance Data</a>
- obtained on different benchmarks and various hardware and
- software system configurations
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <h2>Docs: DRLVM Navigator</h2>
- <p>
- <a href="subcomponents/drlvm/index.html">
- Start here for DRLVM-specific docs
- </a>
- </p>
- </td>
- <td>
- <h2>Docs: Class libraries Navigator</h2>
- <p>
- <a href="subcomponents/classlibrary/index.html">
- Start here for JCL-specific docs
- </a>
- </p>
- </td>
- </tr>
- <tr>
- <td>
-
- <h3>Developing and Building the Code</h3>
- <p>
- <a href="subcomponents/drlvm/debugging_VM_and_JIT.html">
- Debugging the DRL Virtual Machine and the Jitrino.JET Baseline Compiler
- </a>
- </p>
- <p>
- <a href="subcomponents/drlvm/getting_started.html">
- Getting Started with DRLVM</a>: basic usage scenarios
- </p>
- <h3>Architecture and Components</h3>
- <p>
- <a href="subcomponents/drlvm/developers_guide.html">
- Developer's Guide</a>
- describing DRLVM architecture, with the following components specifics:
- </p>
- <ul>
- <li>
- <a href="subcomponents\drlvm\encoder_library.html">
- Encoder Library for
- IA-32/Intel64
- </a>
- </li>
- <li>
- <a href="subcomponents/drlvm/EM.html">
- Execution
- Manager
- </a>
- </li>
- <li>
-
- <a href="subcomponents/drlvm/JIT.html">
- Just-in-time Compiler</a>,
- including Jitrino.JET baseline compiler and Jitrino.OPT optimizing compiler
-
- <ul>
- <li>
-
- <a href="subcomponents/drlvm/internal_profiler.html">Jitrino Internal Profiler Description</a>
-
- </li>
- <li>
-
- <a href="subcomponents/drlvm/JIT_PMF.html">
- Jitrino
- Pipeline Management Framework
- </a>
- </li>
- </ul>
-
- </li>
- <li>
-
- <a href="subcomponents/drlvm/JVMTI-PopFrame.html">JVMTI Pop Frame implementation</a>
- </li>
- <li>
-
- <a href="subcomponents/drlvm/kernel_classes.html">
- Kernel Classes
- </a>
-
- </li>
- <li>
-
- <a href="subcomponents/drlvm/TM.html">Thread Manager</a>
- </li>
- <li>
-
- <a href="subcomponents/drlvm/cp-verifier.html">Verifier</a>
- </li>
- </ul>
-
- <p>
- <a href="subcomponents/drlvm/DoxygenStart.html">Source Code Generated Documentation Index</a> -
- a landing page with links to autogenerated Doxygen documentation for DRLVM interface headers
- </p>
-
- <h3>How-tos and Guides</h3>
- <p>
- <a href="subcomponents/drlvm/emguide.html">
- Configuring Execution Manager</a>: options and configuration file format
- </p>
-
- <p>
- <a href="subcomponents/drlvm/gc-howto.html">
- How to Write DRL GC</a>:
- example-supported guide to creating a custom garbage collector
- implementation in C++ and configuring DRLVM to use it (sample code included)
- </p>
-
- </td>
-
- <td>
- <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>
-
- <h3>Project Conventions</h3>
- <p>
- <a href="subcomponents/classlibrary/pkgnaming.html">
- Class Library Package Naming Conventions
- </a>
- </p>
-
- <p>
- <a href="subcomponents/classlibrary/testing.html">
- Proposed Class Library Testing Conventions
- </a>
- </p>
- <p>
- <a href="subcomponents/classlibrary/compat.html">
- Compatibility Goals for Harmony Class Library
- </a>
- </p>
- <p>
- <a href="subcomponents/classlibrary/ser_testing.html">
- Framework for Testing Serialization</a>:
- guidelines for creating tests and
- conventions for resource files
- </p>
- <h3>Architecture and Guides Documentation</h3>
- <p>
- These docs describe implementation specifics of certain
- class library modules:
- </p>
- <ul>
- <li>
- <a href="subcomponents/classlibrary/asn1_framework.html">
- ASN.1 Framework</a>: overview, types and encoding rules of
- the Abstract Syntax Notation 1
- </li>
- <li>
- <a href="subcomponents/classlibrary/awt.html">
- AWT Framework</a>: Abstract Window Toolkit specifics
- </li>
- <li>
- <a href="subcomponents/classlibrary/dns_support.html">
- JNDI DNS Service Provider</a>:
- specifics and usage gudelines of the Domain Name System provider
- for the Java Naming Directory Interface
- </li>
- <li>
- <a href="subcomponents/classlibrary/java2d.html">
- Java 2D graphics
- and image processing</a>:
- introduction to Java 2D (two-dimensional) image processing
- </li>
- <li>
- <a href="subcomponents/classlibrary/regexp.html">
- Regex Processing Framework</a>:
- overview of the <code>java.util.regex</code> package and implementation with focus on the performance improvement
- </li>
- <li>
- <a href="subcomponents/classlibrary/rmi_provider.html">
- JNDI RMI Registry Service Provider</a>:
- design of the Remote method invocation provider for the Java Naming Directory Interface
- </li>
- </ul>
- </td>
- </tr>
- </table>
- </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>
+ <style type="text/css">
+ #navigationmenu {
+ display: none;
+ }
+
+ #top { /* Main Content */
+ margin-left: 0;
+ width: 100%;
+ clear: both;
+ }
+
+ td {
+ vertical-align: top;
+ }
+ </style>
+ </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>
+
+ <table>
+ <tr>
+ <td width="50%">
+ <h2>General</h2>
+ <p>
+ <a href="http://harmony.apache.org/">Apache Harmony Home</a>: status, news,
+ external stories
+ </p>
+ <p>
+ <a href="http://apache.org/"> Apache Software Foundation Home</a>:
+ general information about the project, status, news, etc.
+ </p>
+ <p>
+ <a href="presentations_papers.html">Presentations and Research Papers</a>:
+ background, motivation, status and future of Apache Harmony project
+ </p>
+ <p>
+ <a href="related.html">Other Projects</a> related to open-source Java*
+ </p>
+ <p>
+ <a href="newshistory.html">Harmony News Archive</a> relocated from the Home page
+ </p>
+ <p>
+ <a href="http://wiki.apache.org/harmony/">Harmony Wiki</a> discussions
+ </p>
+ <p>
+ <a href="license.html">Apache License</a>: terms and
+ conditions for use, reproduction, and distribution
+ </p>
+ <p>
+ <a href="contribution_policy.html">Contribution Policy</a>, limitations on
+ committer contributions and repository organization
+ </p>
+ <p>
+ <a href="auth_cont_quest.html">
+ Authorized Contributor Questionnaire
+ </a>
+ </p>
+ <p>
+ <a href="bulk_contribution_checklist.html">
+ Bulk Contribution Checklist
+ </a>
+ </p>
+
+ </td>
+ <td width="50%">
+ <h2>Community</h2>
+
+ <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="roadmap.html">Roadmap and TODO</a>: project's hopes
+ and required changes for the next year
+ </p>
+ <p>
+ <a href="status.html">What Can We Do Now?</a>: lower-level plans and tasks
+ </p>
+
+ <p>
+ <a href="guidelines.html">Project Guidelines</a>: voting rights and conflicts
+ resolution, procedures for proposing and making changes to the product, etc
+ </p>
+ <p>
+ <a href="issue_resolution_guideline.html">
+ When an Issue Occurs</a>:
+ description of action item types, general rules for commiters, information
+ on reporting, resolving and closing issues
+ </p>
+ <p>
+ <a href="contributors.html">Who We Are</a>: defining roles of contributors,
+ committers, and PMC with the current Committers' List
+ </p>
+ <p>
+ <a href="subcomponents/classlibrary/agreements.html">
+ Developer Agreements and Recommendations</a>
+ summary from <i>dev@harmony.apache.org</i>
+ </p>
+
+ <p>
+ <a href="mailing.html">Mailing Lists</a>: subscription and scope of the lists
+ </p>
+ <p>
+ <a href="http://issues.apache.org/jira/browse/HARMONY">JIRA</a> bug tracker
+ </p>
+ <p>
+ <a href="svn.html">Source Code</a> structure and access
+ </p>
+ <p>
+ <a href="code_scan_tools.html">
+ Code Scanning Tools
+ </a>
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2>For Users</h2>
+ <p>
+ <a href="quickhelp_users.html">
+ Getting
+ Started for Users</a>
+ gives a quick start with a pre-built snapshot of Harmony JRE
+ </p>
+ <p>
+ <a href="cmd_options.html">Command-line Options</a> reference with all
+ non-standard support options specified
+ </p>
+ <p>
+ <a href="faq.html">FAQ</a>: Frequently asked questions
+ </p>
+ <p>
+ <a href="downloads.html">Project Downloads</a>: subversioned source code
+ and pre-built snapshots
+ </p>
+ <p>
+ <a href="bundles.html">Harmony bundles</a> with other projects
+ </p>
+ <h3>Milestones of Apache Harmony Runtime Environment</h3>
+ <p>
+ <a href="documentation/milestones/m2-relnotes.html">M2 milestone:</a>
+ stable build targeted at completeness and compatibility for Windows* and
+ Linux* IA-32 systems
+ </p>
+ <p><a href="documentation/milestones/m3-relnotes.html">M3 milestone:</a>
+ planned to be ready in Sept'07
+ </p>
+ </td>
+
+ <td>
+ <h2>For Developers</h2>
+ <p>
+ <a href="quickhelp_contributors.html">
+ Getting Started for Contributors</a>
+ instructs on how to check out and build the source code
+ </p>
+ <p>
+ <a href="http://people.apache.org/~mloenko/snapshot_testing/script/snapshots_summary.html">Snapshots for 1.5.0</a> for
+ all supported platforms with revision and test results specified
+ </p>
+ <p>
+ <a href="hdk.html">
+ Harmony Development Kit</a>: definition and layout
+ </p>
+
+ <p>
+ <a href="documentation/dev_eclipse.html">
+ Getting Started with Eclipse</a>
+ to develop Java code in Apache Harmony, featuring
+ <a href="documentation/dev_eclipse_movie.html">
+ a
+ movie</a>
+ with a step-by-step guide to configuring Eclipse
+ </p>
+ <p>
+ <a href="documentation/build_website.html">
+ How to build and deploy the website
+ </a>
+ </p>
+ <p>
+ <a href="performance.html">Performance Data</a>
+ obtained on different benchmarks and various hardware and
+ software system configurations
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2>Docs: DRLVM Navigator</h2>
+ <p>
+ <a href="subcomponents/drlvm/index.html">
+ Start here for DRLVM-specific docs
+ </a>
+ </p>
+ </td>
+ <td>
+ <h2>Docs: Class libraries Navigator</h2>
+ <p>
+ <a href="subcomponents/classlibrary/index.html">
+ Start here for JCL-specific docs
+ </a>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+ <h3>Developing and Building the Code</h3>
+ <p>
+ <a href="subcomponents/drlvm/debugging_VM_and_JIT.html">
+ Debugging the DRL Virtual Machine and the Jitrino.JET Baseline Compiler
+ </a>
+ </p>
+ <p>
+ <a href="subcomponents/drlvm/getting_started.html">
+ Getting Started with DRLVM</a>: basic usage scenarios
+ </p>
+ <h3>Architecture and Components</h3>
+ <p>
+ <a href="subcomponents/drlvm/developers_guide.html">
+ Developer's Guide</a>
+ describing DRLVM architecture, with the following components specifics:
+ </p>
+ <ul>
+ <li>
+ <a href="subcomponents\drlvm\encoder_library.html">
+ Encoder Library for
+ IA-32/Intel64
+ </a>
+ </li>
+ <li>
+ <a href="subcomponents/drlvm/EM.html">
+ Execution
+ Manager
+ </a>
+ </li>
+ <li>
+
+ <a href="subcomponents/drlvm/JIT.html">
+ Just-in-time Compiler</a>,
+ including Jitrino.JET baseline compiler and Jitrino.OPT optimizing compiler
+
+ <ul>
+ <li>
+
+ <a href="subcomponents/drlvm/internal_profiler.html">Jitrino Internal Profiler Description</a>
+
+ </li>
+ <li>
+
+ <a href="subcomponents/drlvm/JIT_PMF.html">
+ Jitrino
+ Pipeline Management Framework
+ </a>
+ </li>
+ </ul>
+
+ </li>
+ <li>
+
+ <a href="subcomponents/drlvm/JVMTI-PopFrame.html">JVMTI Pop Frame implementation</a>
+ </li>
+ <li>
+
+ <a href="subcomponents/drlvm/kernel_classes.html">
+ Kernel Classes
+ </a>
+
+ </li>
+ <li>
+
+ <a href="subcomponents/drlvm/TM.html">Thread Manager</a>
+ </li>
+ <li>
+
+ <a href="subcomponents/drlvm/cp-verifier.html">Verifier</a>
+ </li>
+ </ul>
+
+ <p>
+ <a href="subcomponents/drlvm/DoxygenStart.html">Source Code Generated Documentation Index</a> -
+ a landing page with links to autogenerated Doxygen documentation for DRLVM interface headers
+ </p>
+
+ <h3>How-tos and Guides</h3>
+ <p>
+ <a href="subcomponents/drlvm/emguide.html">
+ Configuring Execution Manager</a>: options and configuration file format
+ </p>
+
+ <p>
+ <a href="subcomponents/drlvm/gc-howto.html">
+ How to Write DRL GC</a>:
+ example-supported guide to creating a custom garbage collector
+ implementation in C++ and configuring DRLVM to use it (sample code included)
+ </p>
+
+ </td>
+
+ <td>
+ <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>
+
+ <h3>Project Conventions</h3>
+ <p>
+ <a href="subcomponents/classlibrary/pkgnaming.html">
+ Class Library Package Naming Conventions
+ </a>
+ </p>
+
+ <p>
+ <a href="subcomponents/classlibrary/testing.html">
+ Proposed Class Library Testing Conventions
+ </a>
+ </p>
+ <p>
+ <a href="subcomponents/classlibrary/compat.html">
+ Compatibility Goals for Harmony Class Library
+ </a>
+ </p>
+ <p>
+ <a href="subcomponents/classlibrary/ser_testing.html">
+ Framework for Testing Serialization</a>:
+ guidelines for creating tests and
+ conventions for resource files
+ </p>
+ <h3>Architecture and Guides Documentation</h3>
+ <p>
+ These docs describe implementation specifics of certain
+ class library modules:
+ </p>
+ <ul>
+ <li>
+ <a href="subcomponents/classlibrary/asn1_framework.html">
+ ASN.1 Framework</a>: overview, types and encoding rules of
+ the Abstract Syntax Notation 1
+ </li>
+ <li>
+ <a href="subcomponents/classlibrary/awt.html">
+ AWT Framework</a>: Abstract Window Toolkit specifics
+ </li>
+ <li>
+ <a href="subcomponents/classlibrary/dns_support.html">
+ JNDI DNS Service Provider</a>:
+ specifics and usage gudelines of the Domain Name System provider
+ for the Java Naming Directory Interface
+ </li>
+ <li>
+ <a href="subcomponents/classlibrary/java2d.html">
+ Java 2D graphics
+ and image processing</a>:
+ introduction to Java 2D (two-dimensional) image processing
+ </li>
+ <li>
+ <a href="subcomponents/classlibrary/regexp.html">
+ Regex Processing Framework</a>:
+ overview of the <code>java.util.regex</code> package and implementation with focus on the performance improvement
+ </li>
+ <li>
+ <a href="subcomponents/classlibrary/rmi_provider.html">
+ JNDI RMI Registry Service Provider</a>:
+ design of the Remote method invocation provider for the Java Naming Directory Interface
+ </li>
+ </ul>
+ </td>
+ </tr>
+ </table>
+ </section>
+ </body>
+</document>
Propchange: harmony/standard/site/xdocs/sitemap.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/standard/site/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/stylesheets/site.vsl?rev=574189&r1=574188&r2=574189&view=diff
==============================================================================
--- harmony/standard/site/xdocs/stylesheets/site.vsl (original)
+++ harmony/standard/site/xdocs/stylesheets/site.vsl Mon Sep 10 02:33:37 2007
@@ -1,306 +1,306 @@
-<!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
-#if ($value.getAttributeValue("class"))
-#set ($class = $value.getAttributeValue("class"))
-#end
-<td class="$!class" colspan="$!colspan" rowspan="$!rowspan">
-
- #if ($value.getText().length() != 0 || $value.hasChildren())
- $value.getContent()
- #else
-
- #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
-#if ($value.getAttributeValue("width"))
-#set ($width = $value.getAttributeValue("width"))
-#end
-<th class="TableHeading" colspan="$!colspan" rowspan="$!rowspan" width="$!width">
- #if ($value.getText().length() != 0 || $value.hasChildren())
- $value.getContent()
- #else
-
- #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 class="backtotop"><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">$menu.getAttributeValue("name")</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">
- #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") )
- #if ( $logoString.startsWith("/") )
- <a id="harmonyLogo" href="$project.getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()"
- width="415" height="50" /></a>
- #else
- <a id="harmonyLogo" href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()"
- width="415" height="50" /></a>
- #end
- #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" media="all" />
- <link rel="stylesheet" type="text/css" href="${csspath}screen.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="${csspath}print.css" media="print" />
-
- #if ($root.getChild("properties").getChild("style"))
- $root.getChild("properties").getChild("style")
- #end
-
- </head>
-
- <body>
- <div id="pageHeader">
- <!-- Logo -->
- #getProjectImage()
-
- <!-- Advertisement -->
- <a href="http://www.apachecon.com/2007/EU/index.html">
- <img id="advertisement"
- src="http://www.apache.org/ads/ApacheCon/2007-usa-234x60.png"
- width="234" height="60"
- alt="ApacheCon US 2007" /></a>
- </div> <!-- pageHeader -->
-
- <div id="navigationmenu">
- <!-- LEFT SIDE NAVIGATION -->
- #makeProject()
- </div>
-
- <!-- MAIN CONTENT -->
- <div id="top">
- #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
- </div> <!-- top aka Main Content -->
-
- <!-- FOOTER -->
- <div id="pageFooter" class="special"><em>
- Copyright © 2003-2007, The Apache Software Foundation
- </em></div>
- </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
+#if ($value.getAttributeValue("class"))
+#set ($class = $value.getAttributeValue("class"))
+#end
+<td class="$!class" colspan="$!colspan" rowspan="$!rowspan">
+
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #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
+#if ($value.getAttributeValue("width"))
+#set ($width = $value.getAttributeValue("width"))
+#end
+<th class="TableHeading" colspan="$!colspan" rowspan="$!rowspan" width="$!width">
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #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 class="backtotop"><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">$menu.getAttributeValue("name")</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">
+ #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") )
+ #if ( $logoString.startsWith("/") )
+ <a id="harmonyLogo" href="$project.getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()"
+ width="415" height="50" /></a>
+ #else
+ <a id="harmonyLogo" href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()"
+ width="415" height="50" /></a>
+ #end
+ #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" media="all" />
+ <link rel="stylesheet" type="text/css" href="${csspath}screen.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="${csspath}print.css" media="print" />
+
+ #if ($root.getChild("properties").getChild("style"))
+ $root.getChild("properties").getChild("style")
+ #end
+
+ </head>
+
+ <body>
+ <div id="pageHeader">
+ <!-- Logo -->
+ #getProjectImage()
+
+ <!-- Advertisement -->
+ <a href="http://www.apachecon.com/2007/EU/index.html">
+ <img id="advertisement"
+ src="http://www.apache.org/ads/ApacheCon/2007-usa-234x60.png"
+ width="234" height="60"
+ alt="ApacheCon US 2007" /></a>
+ </div> <!-- pageHeader -->
+
+ <div id="navigationmenu">
+ <!-- LEFT SIDE NAVIGATION -->
+ #makeProject()
+ </div>
+
+ <!-- MAIN CONTENT -->
+ <div id="top">
+ #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
+ </div> <!-- top aka Main Content -->
+
+ <!-- FOOTER -->
+ <div id="pageFooter" class="special"><em>
+ Copyright © 2003-2007, The Apache Software Foundation
+ </em></div>
+ </body>
+ </html>
+#end
+
+
+
+
+
+
+
+
+
Propchange: harmony/standard/site/xdocs/stylesheets/site.vsl
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/standard/site/xdocs/stylesheets/site.xsl
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/stylesheets/site.xsl?rev=574189&r1=574188&r2=574189&view=diff
==============================================================================
--- harmony/standard/site/xdocs/stylesheets/site.xsl (original)
+++ harmony/standard/site/xdocs/stylesheets/site.xsl Mon Sep 10 02:33:37 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 © 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 © 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>
Propchange: harmony/standard/site/xdocs/stylesheets/site.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/standard/site/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/stylesheets/site_printable.vsl?rev=574189&r1=574188&r2=574189&view=diff
==============================================================================
--- harmony/standard/site/xdocs/stylesheets/site_printable.vsl (original)
+++ harmony/standard/site/xdocs/stylesheets/site_printable.vsl Mon Sep 10 02:33:37 2007
@@ -1,260 +1,260 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<!-- Content Stylesheet for Site -->
-
- ## Defined variables
- #set ($bodybg = "#ffffff")
- #set ($bodyfg = "#000000")
- #set ($bodylink = "#525D76")
- #set ($bannerbg = "#525D76")
- #set ($bannerfg = "#ffffff")
- #set ($subbannerbg = "#828DA6")
- #set ($subbannerfg = "#ffffff")
- #set ($tablethbg = "#039acc")
- #set ($tabletdbg = "#a0ddf0")
-
-<!-- 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 bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">
- #if ($value.getText().length() != 0 || $value.hasChildren())
- $value.getContent()
- #else
-
- #end
- </font>
-</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
-<td bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">
- #if ($value.getText().length() != 0 || $value.hasChildren())
- $value.getContent()
- #else
-
- #end
- </font>
-</td>
-#end
-
-#macro ( projectanchor $name $value )
-#if ($value.startsWith("http://"))
- • <a href="$value">$name</a>
-#elseif ($value.startsWith("/site"))
- • <a href="http://jakarta.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)
- <div align="left">
- <font size="2"><pre>$escape.getText($value.getText())</pre></font>
- </div>
-#end
-
-#macro ( subsection $subsection)
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <tr><td bgcolor="$subbannerbg">
- <font color="$subbannerfg" face="arial,helvetica,sanserif">
- <a name="$subsection.getAttributeValue("name")"><strong>$subsection.getAttributeValue("name")</strong></a>
- </font>
- </td></tr>
- <tr><td><br/></td></tr>
- <tr><td>
- <blockquote>
- #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
- </blockquote>
- </td></tr>
- <tr><td><br/></td></tr>
- </table>
-#end
-
-#macro ( section $section)
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <tr><td bgcolor="$bannerbg">
- <font color="$bannerfg" face="arial,helvetica,sanserif">
- <a name="$section.getAttributeValue("name")"><strong>$section.getAttributeValue("name")</strong></a>
- </font>
- </td></tr>
- <tr><td><br/></td></tr>
- <tr><td>
- <!--<blockquote>-->
- #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
- <!--</blockquote>-->
- </p>
- </td></tr>
- <tr><td><br/></td></tr>
- </table>
-#end
-
-#macro (getProjectImage)
-#if ($project.getChild("logo"))
-<td align="left">
-<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
-
-#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
-#if ( $logoString.startsWith("/") )
-<a href="$project.getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
-#else
-<a href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
-#end
-</td>
-#else
-<td>
-<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
-</td>
-#end
-#end
-
-#macro ( makeHorizontalProject )
- #set ($menus = $project.getChild("body").getChildren("menu"))
- <table cellspacing="4">
- #foreach ( $menu in $menus )
- <tr><td>
- <strong>$menu.getAttributeValue("name")</strong>
- </td><td>
- #foreach ( $item in $menu.getChildren() )
- #set ($name = $item.getAttributeValue("name"))
- #projectanchor($name $item.getAttributeValue("href"))
- #end
- </td>
- </tr>
- #end
- </table>
-#end
-
-#macro (document)
- <!-- ====================================================================== -->
- <!-- 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
-
- <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
- </head>
-
- <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">
- <table border="0" width="100%" cellspacing="0">
- <!-- TOP IMAGE -->
- <tr>
- #getProjectImage()
- </tr>
- </table>
- <table border="0" width="100%" cellspacing="4">
- <tr><td>
- <hr noshade="" size="1"/>
- </td></tr>
- <tr>
- <td align="left" valign="top">
- #set ($allSections = $root.getChild("body").getChildren("section"))
- #foreach ( $section in $allSections )
- #section ($section)
- #end
- </td>
- </tr>
- <tr><td>
- <hr noshade="" size="1"/>
- </td></tr>
- <tr><td>
- <!-- FOOT Navigation -->
- #makeHorizontalProject ()
- <!-- FOOTER -->
- <tr><td>
- <hr noshade="" size="1"/>
- </td></tr>
- <tr><td>
- <div align="center"><font color="$bodylink" size="-1"><em>
- Copyright © 1999-2004, Apache Software Foundation
- </em></font></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">
+
+<!-- Content Stylesheet for Site -->
+
+ ## Defined variables
+ #set ($bodybg = "#ffffff")
+ #set ($bodyfg = "#000000")
+ #set ($bodylink = "#525D76")
+ #set ($bannerbg = "#525D76")
+ #set ($bannerfg = "#ffffff")
+ #set ($subbannerbg = "#828DA6")
+ #set ($subbannerfg = "#ffffff")
+ #set ($tablethbg = "#039acc")
+ #set ($tabletdbg = "#a0ddf0")
+
+<!-- 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 bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #end
+ </font>
+</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
+<td bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #end
+ </font>
+</td>
+#end
+
+#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+ • <a href="$value">$name</a>
+#elseif ($value.startsWith("/site"))
+ • <a href="http://jakarta.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)
+ <div align="left">
+ <font size="2"><pre>$escape.getText($value.getText())</pre></font>
+ </div>
+#end
+
+#macro ( subsection $subsection)
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="$subbannerbg">
+ <font color="$subbannerfg" face="arial,helvetica,sanserif">
+ <a name="$subsection.getAttributeValue("name")"><strong>$subsection.getAttributeValue("name")</strong></a>
+ </font>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ <tr><td>
+ <blockquote>
+ #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
+ </blockquote>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+#end
+
+#macro ( section $section)
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="$bannerbg">
+ <font color="$bannerfg" face="arial,helvetica,sanserif">
+ <a name="$section.getAttributeValue("name")"><strong>$section.getAttributeValue("name")</strong></a>
+ </font>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ <tr><td>
+ <!--<blockquote>-->
+ #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
+ <!--</blockquote>-->
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+#end
+
+#macro (getProjectImage)
+#if ($project.getChild("logo"))
+<td align="left">
+<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
+
+#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+#if ( $logoString.startsWith("/") )
+<a href="$project.getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
+#else
+<a href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
+#end
+</td>
+#else
+<td>
+<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
+</td>
+#end
+#end
+
+#macro ( makeHorizontalProject )
+ #set ($menus = $project.getChild("body").getChildren("menu"))
+ <table cellspacing="4">
+ #foreach ( $menu in $menus )
+ <tr><td>
+ <strong>$menu.getAttributeValue("name")</strong>
+ </td><td>
+ #foreach ( $item in $menu.getChildren() )
+ #set ($name = $item.getAttributeValue("name"))
+ #projectanchor($name $item.getAttributeValue("href"))
+ #end
+ </td>
+ </tr>
+ #end
+ </table>
+#end
+
+#macro (document)
+ <!-- ====================================================================== -->
+ <!-- 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
+
+ <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
+ </head>
+
+ <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">
+ <table border="0" width="100%" cellspacing="0">
+ <!-- TOP IMAGE -->
+ <tr>
+ #getProjectImage()
+ </tr>
+ </table>
+ <table border="0" width="100%" cellspacing="4">
+ <tr><td>
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr>
+ <td align="left" valign="top">
+ #set ($allSections = $root.getChild("body").getChildren("section"))
+ #foreach ( $section in $allSections )
+ #section ($section)
+ #end
+ </td>
+ </tr>
+ <tr><td>
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr><td>
+ <!-- FOOT Navigation -->
+ #makeHorizontalProject ()
+ <!-- FOOTER -->
+ <tr><td>
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr><td>
+ <div align="center"><font color="$bodylink" size="-1"><em>
+ Copyright © 1999-2004, Apache Software Foundation
+ </em></font></div>
+ </td></tr>
+ </table>
+ </body>
+ </html>
+#end
Propchange: harmony/standard/site/xdocs/stylesheets/site_printable.vsl
------------------------------------------------------------------------------
svn:eol-style = native