svn commit: r1350856 [10/11] - in /xalan/site: ./ docs/ docs/xalan/ docs/xalan/resources/ docs/xalan/xalan-c/ docs/xalan/xalan-c/resources/ docs/xalan/xalan-j/ stylebook/ stylebook/Xalan-Logos/ stylebook/css/ stylebook/style/ stylebook/style/dtd/ xdocs...
[email protected] Sat, 16 Jun 2012 03:57:39 -0000
| Newsgroups | gmane.text.xml.xalan.cvs |
|---|---|
| Message-ID | <[email protected]> |
Added: xalan/site/xdocs/sources/entities.ent URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/entities.ent?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/entities.ent (added) +++ xalan/site/xdocs/sources/entities.ent Sat Jun 16 03:57:36 2012 @@ -0,0 +1,101 @@ +<?xml encoding="US-ASCII"?> + +<!ENTITY xslt "Xalan"> +<!ENTITY xslt4j "Xalan-Java"> +<!ENTITY xslt4j2 "Xalan-Java 2"> +<!ENTITY xslt4ji "&xslt4j; Interpretive"> +<!ENTITY xslt4jc-short "XSLTC"> +<!ENTITY xslt4jc-long "&xslt4j; Compiled"> +<!ENTITY xslt4j-dist-bin "&xslt4j-dist;-bin"> +<!ENTITY xslt4j-dist-src "&xslt4j-dist;-src"> +<!ENTITY xslt4j-dist "xalan-j_2.7.1"> +<!ENTITY xslt4j-current "&xslt4j; Version 2.7.1"> +<!ENTITY xslt4j-distdir "http://www.apache.org/dyn/closer.cgi/xml/xalan-j/"> +<!ENTITY xslt4j_longname "Apache Xalan Java"> +<!ENTITY xml4j "Xerces-Java"> +<!ENTITY xml4j1 "Xerces-Java 1"> +<!ENTITY xml4j2 "Xerces-Java 2"> +<!ENTITY xml4j-used "&xml4j; @parser.version.VERSION@[email protected]@[email protected]@"> +<!ENTITY xml4j-jar "xercesImpl.jar"> +<!ENTITY xslt4c "Xalan-C++"> +<!ENTITY xml4c "Xerces-C++"> +<!ENTITY jaxp13-short "JAXP 1.3"> +<!ENTITY jaxp13-long "Java API for XML Processing (JAXP) 1.3"> +<!ENTITY download "The &xslt4j-current; download includes &xml4j-jar; from &xml4j-used; and xml-apis.jar. +For version information about the contents of xml-apis.jar, see the JAR manifest."> + +<!ENTITY xsltcwhatsnewhead '<li><link anchor="xsltc">&xslt4jc-short;</link></li>'> + +<!ENTITY xsltcwhatsnew '<anchor name="xsltc"/><s2 title="&xslt4jc-long; (&xslt4jc-short;)"> + <p>In April 2001, Sun donated &xslt4jc-short; to the Xalan project. &xslt4jc-short; compiles stylesheets into translets and + provides a runtime environment for using translets to transform XML documents. Initially, &xslt4jc-short; is + available in a separate JAR. Over time, we plan to integrate the two codebases. For more information, + see <link idref="xsltc_usage">Getting Started with &xslt4jc-short;</link>, + <link idref="readme" anchor="xsltcreleasenotes">&xslt4jc-short; + Release Notes</link>, and <jump href="xsltc/index.html">&xslt4jc-short; Design</link>.</p> + </s2>'> + +<!ENTITY history2xsltc '<note>For &xslt4jc-short; changes since &xslt4jc-short; was incorporated into &xslt4j;, see + <link idref="xsltc_history">&xslt4jc-short; software changes</link>.</note>'> + +<!ENTITY xsltcclasspath '<p>If you are using <link idref="xsltc_usage">&xslt4jc-short;</link>, see + <link idref="xsltc_usage" anchor="classpath">Setting the system classpath for &xslt4jc-short;</link>.</p>'> + +<!ENTITY xsltcsampleshead '<li><link anchor="translets">translets</link></li>'> + +<!ENTITY xsltcsamples '<anchor name="translets"/><s2 title="Translets"> + <ul> + <li><link anchor="xsltc1">JAXPTransletOneTransformation</link></li> + <li><link anchor="xsltc2">JAXPTransletMultipleTransformations</link></li> + <li><link anchor="xsltcother">Other &xslt4jc-short; samples</link></li> + </ul> + <p>You can use the JAXP interfaces to compile and run translets. + For an overview of the usage patterns these samples illustrate, see + <link idref="xsltc_usage" anchor="api">Calling &xslt4jc-short; with the JAXP API</link>.</p> + <anchor name="xsltc1"/> + <s3 title="JAXPTransletOneTransformation"> + <p>What it does: Uses the &xslt4jc-short; TransformerFactory to compile a translet and use + the translet to transform the &xslt4jc-short; to-do list from XML into HTML.</p> + <p>Run this sample from the translets subdirectory with</p> + <p><code>java JAXPTransletOneTransformation</code></p> + <p>View the result in todo.html.</p> + </s3><anchor name="xsltc2"/> + <s3 title="JAXPTransletMultipleTransformations"> + <p>What it does: Uses the &xslt4jc-short; TransformerFactory to compile a translet and use + the Templates object associated with the translet to transform the &xslt4jc-short; and Xalan to-do lists from XML + into HTML.</p> + <p>Run this sample from the translets subdirectory with</p> + <p><code>java JAXPTransletMultipleTransformations</code></p> + <p>View the results in todo.html and todotoo.html.</p> + </s3><anchor name="xsltcother"/> + <s3 title="Other &xslt4jc-short; samples"> + <p>Other &xslt4jc-short; samples are located in the following samples subdirectories:</p> + <ul> + <li>CompiledServlet</li> + <li>CompiledBrazil</li> + <li>CompiledJAXP</li> + <li>CompiledApplet</li> + <li>CompiledEJB</li> + </ul> + <p>For information about each of these samples, consult the README file in the subdirectory.</p> + <p>&xslt4jc-short; provides demos for using &xslt4jc-short; as a servlet and as a handler for + Brazil (a new and powerful Web techology from Sun labs).</p> + <p>To run the Brazil-handler demo, download Brazil from sunlabs:</p> + <p><code> <jump href="http://research.sun.com/research/download/index.html">http://research.sun.com/research/download/index.html</jump></code></p> + <p>The translet must be specified as a pure class name, + accessible through the Brazil-handler's classpath. For + example:</p> + <p><code> translet=mk054</code></p> + <p>The document must be specified as a valid URL. For example:</p> + <p><code> document=http://server/path/to/filename.xml</code></p> + <p>If the file is local to the Brazil handler, it has to be + specified using the "file:filename.xml" format.</p> + <note>In order to run the Brazil-handler demo, you also need to + make the Brazil and javax classes available from your + classpath</note> + <p>To run the servlet demo, download the java extensions for servlets from Sun:</p> + <p><code> + <jump href="http://java.sun.com/products/servlet/download.html"> + http://java.sun.com/products/servlet/download.html</jump></code></p> + </s3> + </s2>'> Added: xalan/site/xdocs/sources/make-book-org.bat URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/make-book-org.bat?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/make-book-org.bat (added) +++ xalan/site/xdocs/sources/make-book-org.bat Sat Jun 16 03:57:36 2012 @@ -0,0 +1,12 @@ +:: Volume in drive I is LEDS-USB +:: Volume Serial Number is 27B6-025E +:: + + +mkdir ..\..\build\docs\xalan\resources + +call make-xalan-org index +call make-xalan-org charter + +copy xslt-resources\*.* ..\..\build\docs\xalan\resources + Added: xalan/site/xdocs/sources/make-xalan-org.bat URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/make-xalan-org.bat?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/make-xalan-org.bat (added) +++ xalan/site/xdocs/sources/make-xalan-org.bat Sat Jun 16 03:57:36 2012 @@ -0,0 +1,86 @@ +:: +:: Set the current path to include a stylesheet transformation utility +:: +:: %1 The document filename (without extension) to transform +:: +:: -- The Environment Variables for this script -- +:: +:: %XALANBOOKXML% The <book> navigation file for this project +:: +:: %XALANCMD% The Xalan command-line XSLT transformation utility +:: +:: %XALANSTYLE% The XSLT stylesheet to +:: +:: %XALANSRCDIR% Source directory of STYLEBOOK markup XML documents +:: +:: %XALANOUTDIR% Target directory of XHTML web page documents +:: +:: %XALANLOGOIMG% Web Page Logo +:: +:: %XALANLOGOWIDTH% Web Page Logo Width +:: +:: %XALANLOGOHEIGHT% Web Page Logo Height +:: +:: %XALANLOGOLINK% Active Link for Web Page Logo +:: +:: %XALANTITLELINK% Active Link for Web Page Title +:: +:: %WEBCREATED% Web Page Creation Date +:: +:: -- The XSLT Stylesheet Top-Level Parameters +:: +:: sectionid Top-level stylesheet parameter (document file id) +:: +:: createdate Top-level stylesheet parameter (web page creation date) +:: +:: logoimage Apache Trademark Logo Image +:: +:: logoheight Logo Height in Pixels +:: +:: logowidth Logo Width in Pixels +:: +:: logolink Logo Image - hot link +:: +:: bookxml The <book>.xml file for navigation +:: +:: booklink The Hot-Link for Book Title in Header +:: + +SET XALANBOOKXML=xalan-apache-org-site.xml + +SET XALANCMD=..\..\bin\xalan.exe + +SET XALANSTYLE=stylebook.xslt + +SET XALANSRCDIR=xalan-apache-org + +SET XALANOUTDIR=..\..\build\docs\xalan + +SET XALANLOGOIMG=resources/Xalan-Logo-tm.png + +SET XALANLOGOWIDTH=190 + +SET XALANLOGOHEIGHT=90 + +SET XALANLOGOLINK=index.html + +SET XALANTITLELINK=index.html + +SET WEBCREATED=%DATE% + +:: +:: Create Target Directories +:: + +IF EXIST "%XALANOUTDIR%" GOTO NEXT1 +MKDIR "%XALANOUTDIR%" +:NEXT1 +IF EXIST "%XALANOUTDIR%\resources" GOTO NEXT2 +MKDIR "%XALANOUTDIR%\resources" +:NEXT2 + +:: +:: Now create the specific web page from StyleBook XML +:: + +"%XALANCMD%" -p sectionid "'%1'" -p xmlsources "'%XALANSRCDIR%'" -p createdate "'%WEBCREATED%'" -p logoimage "'%XALANLOGOIMG%'" -p logowidth "'%XALANLOGOWIDTH%'" -p logoheight "'%XALANLOGOHEIGHT%'" -p logolink "'%XALANLOGOLINK%'" -p bookxml "'%XALANBOOKXML%'" -p booklink "'%XALANTITLELINK%'" %XALANSRCDIR%\%1.xml %XALANSTYLE% >%XALANOUTDIR%\%1.html Added: xalan/site/xdocs/sources/stylebook.xslt URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/stylebook.xslt?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/stylebook.xslt (added) +++ xalan/site/xdocs/sources/stylebook.xslt Sat Jun 16 03:57:36 2012 @@ -0,0 +1,988 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<!-- + * 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. +--> + +<!-- +* <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +* "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +--> + +<xsl:output method="xml" version="1.0" indent="yes" + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" + omit-xml-declaration="no" + encoding="ISO-8859-1" + standalone="no" +/> + +<!-- THE TOP-LEVEL PARAMETERS + + logoimage = resource image for active logo (resources/asf_logo.png) + logolink = logo active hyperlink (http://xalan.apache.org) + logowidth = width of trademark logo in pixels + logoheight = height of tracemark logo in pixels + + bookxml = path to the book.xml for navigation and book title + booklink = path to the index.html for the book + + sectionid = basename of the source xml file without the (.xml) extension. + createdate = date that this stylesheet is used. + + xmlsources = directory where project sources reside + + =============== + + Building a documentation web page using a commandline XSLTt transformation program + + EXSLT -p sectionid='getstarted' -p createdate='Aug 7, 2011' + -p logoimage='resources/xalan-logo.png' + -p logolink='http://xalan.apache.org' + -p logowidth='144' + -p logoheight='75' + -p bookxml='xalan.xml' + -p booklink='index.html' + xalan\documentfile.xml xalan-manual.xslt ..\html\documentfile.html +--> + +<xsl:param name="logoimage">resources/asf_logo.png</xsl:param> +<xsl:param name="logolink">http://www.apache.org</xsl:param> +<xsl:param name="logowidth">144</xsl:param> +<xsl:param name="logoheight">75</xsl:param> + +<xsl:param name="bookxml">xalan.xml</xsl:param> +<xsl:param name="booklink">index.html</xsl:param> + +<xsl:param name="sectionid">index</xsl:param> +<xsl:param name="createdate"/> + +<xsl:param name="xmlsources">xalan</xsl:param> + + +<!-- THE ROOT TEMPLATE TO BUILD ASF STYLEBOOK WEB PAGE --> + +<xsl:template match="/"> + +<!-- CONSTRUCT A BOOK TITLE FROM THE REFERENCED BOOK XML --> + + <xsl:variable name="booktitle"> + <xsl:value-of select='document($bookxml)/book/@title'/> + </xsl:variable> + + +<!-- CONSTRUCT A BOOK SUBTITLE TITLE FROM SOURCE XML PROPERTIES --> + + <xsl:variable name="xalantitle"> + <xsl:choose> + <xsl:when test="s1/@title"> + <xsl:value-of select="s1/@title"/> + </xsl:when> + <xsl:when test="s2/@title"> + <xsl:value-of select="s2/@title"/> + </xsl:when> + <xsl:when test="s3/@title"> + <xsl:value-of select="s3/@title"/> + </xsl:when> + <xsl:when test="faqs"> + <xsl:choose> + <xsl:when test="faqs/@title"> + <xsl:value-of select="faqs/@title"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Frequently Asked Questions</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="resources"> + <xsl:text>Resources</xsl:text> + </xsl:when> + <xsl:when test="changes/@title"> + <xsl:value-of select="changes/@title"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>DEBUG - xalantitle not found</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + +<xsl:element name='html'> + <xsl:element name='head'> + <xsl:element name='title'> + <xsl:value-of select="concat('ASF: ',$xalantitle)"/> + </xsl:element><!--/title--> + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/> + <meta http-equiv="Content-Style-Type" content="text/css"/> + <link rel="stylesheet" type="text/css" href="resources/apache-xalan.css"/> + </xsl:element><!--/head--> + +<!-- PUT IN THE APACHE SOFTWARE FOUNDATION LICENSING STATEMENT --> + <xsl:comment> + * 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. + </xsl:comment> + + <body> + <!-- THE TITLE SECTION --> + + <xsl:call-template name="doTitle"> + <xsl:with-param name="headtitle"> + <xsl:value-of select="$booktitle"/> + </xsl:with-param> + <xsl:with-param name="headtitlelink"> + <xsl:value-of select="$booklink"/> + </xsl:with-param> + <xsl:with-param name="headsubtitle"> + <xsl:value-of select="$xalantitle"/> + </xsl:with-param> + <xsl:with-param name="headlogoimg"> + <xsl:value-of select="$logoimage"/> + </xsl:with-param> + <xsl:with-param name="headlogolink"> + <xsl:value-of select="$logolink"/> + </xsl:with-param> + <xsl:with-param name="headlogoheight"> + <xsl:value-of select="$logoheight"/> + </xsl:with-param> + <xsl:with-param name="headlogowidth"> + <xsl:value-of select="$logowidth"/> + </xsl:with-param> + </xsl:call-template> + + <!-- THE NAVIGATION SECTION --> + + <xsl:call-template name="doLeftNav"> + <xsl:with-param name="sectparm"> + <xsl:value-of select="$sectionid"/> + </xsl:with-param> + </xsl:call-template> + + <!-- THE MAIN CONTENT SECTION --> + + <xsl:call-template name="doContent"> + <xsl:with-param name="mysectionid"> + <xsl:value-of select="$sectionid"/> + </xsl:with-param> + </xsl:call-template> + + <!-- THE COPYRIGHT FOOTER --> + + <xsl:call-template name="doFooter"> + <xsl:with-param name="releaseinfo"> + <xsl:text>Web Page created on - </xsl:text> + <xsl:value-of select="$createdate"/> + </xsl:with-param> + </xsl:call-template> + </body> +</xsl:element><!--html--> +</xsl:template> + + +<!-- DEBUG TEMPLATE --> +<xsl:template name="DEBUG"> + <xsl:param name="theText"/> + <xsl:param name="theNode"/> + <xsl:element name="DEBUG"> + <xsl:element name="DEBUGTEXT"> + <xsl:value-of select="$theText"/> + </xsl:element> + <xsl:if test="$theNode"> + <xsl:element name="DEBUGNODES"> + <xsl:copy-of select="$theNode"/> + </xsl:element> + </xsl:if> + </xsl:element> +</xsl:template> + + +<xsl:template name="doTitle"> + <xsl:param name="headtitle">XML StyleBook Example</xsl:param> + <xsl:param name="headtitlelink">index.html</xsl:param> + <xsl:param name="headsubtitle">Documentation Test Example</xsl:param> + <xsl:param name="headlogoimg">resources/asf_logo.png</xsl:param> + <xsl:param name="headlogolink">http://www.apache.org</xsl:param> + <xsl:param name="headlogoheight"><xsl:value-of select="$logoheight"/></xsl:param> + <xsl:param name="headlogowidth"><xsl:value-of select="$logowidth"/></xsl:param> + <xsl:element name="div"> + <xsl:attribute name="id"> + <xsl:text>title</xsl:text> + </xsl:attribute> + <table class="HdrTitle"> + <tbody> + <tr> + <th rowspan="2"> + <xsl:element name='a'> + <xsl:attribute name='href'><xsl:value-of select='$headlogolink'/></xsl:attribute> + <xsl:element name='img'> + <xsl:attribute name='alt'><xsl:text>Trademark Logo</xsl:text></xsl:attribute> + <xsl:attribute name='src'><xsl:value-of select="$headlogoimg"/></xsl:attribute> + <xsl:attribute name='width'><xsl:value-of select="$headlogowidth"/></xsl:attribute> + <xsl:attribute name='height'><xsl:value-of select="$headlogoheight"/></xsl:attribute> + </xsl:element><!-- img --> + </xsl:element><!-- a --> + </th> + <th text-align="center" width="75%"> + <xsl:element name='a'> + <xsl:attribute name='href'> + <xsl:value-of select="$headtitlelink"/> + </xsl:attribute> + <xsl:value-of select="$headtitle"/> + </xsl:element><!-- a --> + </th> + </tr> + <tr> + <td valign="middle"><xsl:value-of select="$headsubtitle"/></td> + </tr> + </tbody> + </table> + +<!-- </xsl:element> --> + +<!-- Useful Emulation of Project Header Buttons --> + +<!-- <table class="HdrButtons"> --> + + <table class="HdrButtons" align="center" border="1"> + <tbody> + <tr> + <td><a href="http://www.apache.org">Apache Foundation</a></td> + <td><a href="http://xalan.apache.org">Xalan Project</a></td> + <td><a href="http://xerces.apache.org">Xerces Project</a></td> + <td><a href="http://www.w3.org/TR">Web Consortium</a></td> + <td><a href="http://www.oasis-open.org/standards">Oasis Open</a></td> + </tr> + </tbody> + </table> + </xsl:element> +<!-- --> + +</xsl:template> + + +<xsl:template name="doLeftNav"> +<xsl:param name="sectparm" select="''"/> +<xsl:element name="div"> + <xsl:attribute name="id">navLeft</xsl:attribute> + <ul> + <xsl:for-each select="document($bookxml)/book/*"> + <xsl:if test="name(.)!='hidden'"> + <xsl:choose> + <xsl:when test="name(.)='external'"> + <li> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="@href"/> + </xsl:attribute> + <xsl:value-of select="@label"/> + </xsl:element> + </li> + </xsl:when> + <xsl:when test="name(.)='resources'"> + <li> + <xsl:choose> + <xsl:when test="$sectparm != 'resources'"> + <a href="resources.html">Resources</a><br/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Resources</xsl:text><br/> + </xsl:otherwise> + </xsl:choose> + </li> + </xsl:when> + <xsl:when test="name(.)='changes'"> + <li> + <xsl:choose> + <xsl:when test="$sectparm != 'changes'"> + <a href="changes.html">Changes</a><br/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Changes</xsl:text> + </xsl:otherwise> + </xsl:choose> + </li> + </xsl:when> + <xsl:when test="name(.)='separator'"> <!-- </ul> <hr/> <ul> --> + <xsl:text disable-output-escaping="yes"></ul><hr /><ul></xsl:text> + </xsl:when> + <xsl:when test="(name(.)='document') or (name(.)='faqs')"> + <li> + <xsl:choose> + <xsl:when test="$sectparm != string(@id)"> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="concat(@id,'.html')"/> + </xsl:attribute> + <xsl:value-of select="@label"/> + </xsl:element> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@label"/><br/> + </xsl:otherwise> + </xsl:choose> + </li> + </xsl:when> + + + <xsl:when test="name(.)='group'"> + <xsl:text disable-output-escaping="yes"></ul></xsl:text> + <xsl:element name="p"> + <xsl:attribute name="class">navGroup</xsl:attribute> + <em><xsl:value-of select="@label"/></em> + </xsl:element> + <xsl:text disable-output-escaping="yes"><ul></xsl:text> + + <xsl:for-each select="./*"> + <xsl:choose> + + <xsl:when test="name(.)='external'"> + <li> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="@href"/> + </xsl:attribute> + <xsl:value-of select="@label"/> + </xsl:element> + </li> + </xsl:when> + <xsl:when test="name(.)='resources'"> + <li> + <xsl:choose> + <xsl:when test="$sectparm != 'resources'"> + <a href="resources.html">Resources</a><br/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Resources</xsl:text><br/> + </xsl:otherwise> + </xsl:choose> + </li> + </xsl:when> + <xsl:when test="name(.)='changes'"> + <li> + <xsl:choose> + <xsl:when test="$sectparm != 'changes'"> + <a href="changes.html">Changes</a><br/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Changes</xsl:text> + </xsl:otherwise> + </xsl:choose> + </li> + </xsl:when> + <xsl:when test="(name(.)='document') or (name(.)='faqs')"> + <li> + <xsl:choose> + <xsl:when test="$sectparm != string(@id)"> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="concat(@id,'.html')"/> + </xsl:attribute> + <xsl:value-of select="@label"/> + </xsl:element> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@label"/><br/> + </xsl:otherwise> + </xsl:choose> + </li> + </xsl:when> + + + <xsl:otherwise> +<!-- + ! Unrecognized child of Navigation <group> element --> +--> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> +<!-- + ! Unrecognized child of Navigation <book> element --> +--> + </xsl:otherwise> + </xsl:choose> + </xsl:if> <!-- not hidden --> + </xsl:for-each> + </ul> +</xsl:element> +</xsl:template> + + +<xsl:template name="doContent"> + <xsl:element name="div"> + <xsl:attribute name="id">content</xsl:attribute> + <xsl:choose> + <xsl:when test="faqs"> + <xsl:for-each select="faqs"> + <xsl:call-template name="doFaqDocument"/> + </xsl:for-each> + </xsl:when> + <xsl:when test="resources"> + <xsl:for-each select="resources"> + <xsl:call-template name="doResDocument"/> + </xsl:for-each> + </xsl:when> + <xsl:when test="changes"> + <xsl:for-each select="changes"> + <xsl:call-template name="doChangesDoc"/> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> +</xsl:template> + + +<xsl:template name="doFooter"> + <xsl:param name="releaseinfo"/> + <xsl:element name="div"> + <xsl:attribute name="id">footer</xsl:attribute> + <!-- copyright byline information --> + <!-- © is the (c) copyright symbol --> + <xsl:text>Copyright © 1999-2012 The Apache Software Foundation</xsl:text><br/> + <xsl:text>Apache, Xalan, and the Feather logo are trademarks of The Apache Software Foundation</xsl:text> + <xsl:element name="div"> + <xsl:attribute name="class">small</xsl:attribute> + <xsl:value-of select="$releaseinfo"/> + </xsl:element> + </xsl:element> +</xsl:template> + + +<!-- + getPrevFaqCount returns the number of <faq> elements found in the previous <group>s + Used to create sequential ID numbers across <faq> groups for titles and anchors. +--> + +<xsl:template name="getPrevFaqCount"> + <xsl:param name="mygroup">1</xsl:param> + <xsl:variable name="faqcount"> + <xsl:choose> + <xsl:when test="$mygroup <= 1">0</xsl:when> + <xsl:otherwise> + <xsl:variable name="subcount"> + <xsl:call-template name="getPrevFaqCount"> + <xsl:with-param name="mygroup" select="$mygroup - 1"/> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="$subcount + count(./group[position()= ($mygroup - 1)]/faq)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$faqcount"/> +</xsl:template> + +<!-- Recursive - Generate the grouped faq Questions section --> + +<xsl:template name="groupFaqQuestions"> + <xsl:param name="mygroup">1</xsl:param> + <xsl:if test="./group[position()=$mygroup]"> + <h3><xsl:value-of select="./group[position()=$mygroup]/@title"/></h3> + <xsl:variable name="prevfaqs"> + <xsl:call-template name="getPrevFaqCount"> + <xsl:with-param name="mygroup"><xsl:value-of select="$mygroup"/></xsl:with-param> + </xsl:call-template> + </xsl:variable> + <xsl:for-each select="./group[position()=$mygroup]"> + +<!-- list must have at least one faq --> + <xsl:if test="./faq[position()=1]"> + <xsl:element name="ol"> + <xsl:attribute name="start"> + <xsl:value-of select="$prevfaqs + 1"/> + </xsl:attribute> + <xsl:call-template name="doFaqTitles"> + <xsl:with-param name="faqNbr"><xsl:value-of select="$prevfaqs + 1"/></xsl:with-param> + </xsl:call-template> + </xsl:element> + </xsl:if> + </xsl:for-each> + <xsl:call-template name="groupFaqQuestions"> + <xsl:with-param name="mygroup"><xsl:value-of select="$mygroup + 1"/></xsl:with-param> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<!-- Recursive - Generate the grouped faq Answers section --> + +<xsl:template name="groupFaqAnswers"> + <xsl:param name="mygroup">1</xsl:param> + <xsl:if test="./group[position()=$mygroup]"> + <xsl:variable name="prevfaqs"> + <xsl:call-template name="getPrevFaqCount"> + <xsl:with-param name="mygroup"><xsl:value-of select="$mygroup"/></xsl:with-param> + </xsl:call-template> + </xsl:variable> + <xsl:for-each select="./group[position()=$mygroup]"> + <xsl:if test="./faq[position()=1]"> + <xsl:call-template name="doFaqContent"> + <xsl:with-param name="faqNbr" select="$prevfaqs + 1"/> + </xsl:call-template> + </xsl:if> + </xsl:for-each> + <xsl:call-template name="groupFaqAnswers"> + <xsl:with-param name="mygroup" select="$mygroup + 1"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + + +<!-- Updated to accommodate faq groups for XALAN-J --> + +<xsl:template name="doFaqDocument"> + <h2 class="faqSubHead">Questions</h2> + <xsl:choose> + <xsl:when test="./group[position()=1]"> + <xsl:call-template name="groupFaqQuestions"/> + </xsl:when> + <xsl:otherwise> + <xsl:if test="./faq[position()=1]"> + <ol start="1"> + <xsl:call-template name="doFaqTitles"/> + </ol> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + <h2 class="faqSubHead">Answers</h2> + <xsl:choose> + <xsl:when test="./group[position()=1]"> + <xsl:call-template name="groupFaqAnswers"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="doFaqContent"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + +<xsl:template name="doFaqTitles"> + <xsl:param name="faqNbr">1</xsl:param> + <xsl:param name="myNbr">1</xsl:param> + <xsl:if test="faq[position()=$myNbr]"> + <!-- output the title reference --> + <li> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="concat('#faq-', $faqNbr)"/> + </xsl:attribute> + <xsl:value-of select="faq[position()=$myNbr]/@title"/> + </xsl:element> + </li> + <!-- get the next faq if any --> + <xsl:call-template name="doFaqTitles"> + <xsl:with-param name="faqNbr" select="number($faqNbr + 1)"/> + <xsl:with-param name="myNbr" select="number($myNbr + 1)"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + + +<xsl:template name="doFaqContent"> + <xsl:param name="faqNbr">1</xsl:param> + <xsl:param name="myNbr">1</xsl:param> + + <xsl:if test="faq[position()=$myNbr]"> <!-- output content of this element only --> + +<!-- <h3><xsl:value-of select="faq[position()=$myNbr]/@title"/></h3> --> + + <xsl:element name="h3"> + <xsl:attribute name="id"> + <xsl:value-of select="concat('faq-', $faqNbr)"/> + </xsl:attribute> + <xsl:attribute name="class"> + <xsl:text>faqTitle</xsl:text> + </xsl:attribute> + <xsl:value-of select="concat($faqNbr, '. ', faq[position()=$myNbr]/@title)"/> + </xsl:element> + +<!-- The FAQ Text Part --> + <xsl:for-each select="faq[position()=$myNbr]/*"> <!-- children of 'faq' --> + <xsl:choose> + <xsl:when test="name(.)='q'"> <!-- The Question Text --> + <div class="faqQuestion"> + <xsl:apply-templates/> <!-- children of 'q' --> + </div> + </xsl:when> + <xsl:when test="name(.)='a'"> <!-- The Answer Text --> + <br/> + <hr/> + <div class="faqAnswer"> + <xsl:apply-templates/> <!-- children of 'a' --> + </div> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + + <xsl:call-template name="goToTop"/> + +<!-- Recurse for next faq item --> + <xsl:call-template name="doFaqContent"> + <xsl:with-param name="faqNbr" select="number($faqNbr + 1)"/> + <xsl:with-param name="myNbr" select="number($myNbr + 1)"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + + +<xsl:template name="goToTop"> + <p align="right" size="2"> + <a href="#content">(top)</a> + </p> +</xsl:template> + + +<xsl:template name="doResDocument"> + <xsl:for-each select="resource|human-resource"> + <xsl:choose> + <xsl:when test="name(.)='resource'"> +<!-- <h4 class="resourcetitle"><strong><xsl:value-of select="@title"/></strong><h4> --> + <xsl:element name="h4"> + <xsl:attribute name="class">resourcetitle</xsl:attribute> + <strong><xsl:value-of select="@title"/></strong> + </xsl:element> + <p>id = [<xsl:value-of select="@id"/>]<br/> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="@location"/> + </xsl:attribute> + <xsl:value-of select="@location"/> + </xsl:element><br/></p> + </xsl:when> + <xsl:when test="name(.)='human-resource'"> +<!-- <h4 class="resourcetitle"><strong><xsl:value-of select="@name"/></strong><h4> --> + <xsl:element name="h4"> + <xsl:attribute name="class">resourcetitle</xsl:attribute> + <strong><xsl:value-of select="@name"/></strong> + </xsl:element> + <p>id = [<xsl:value-of select="@id"/>]<br/> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="concat('mailto:',@mailto)"/> + </xsl:attribute> + <xsl:value-of select="concat('mailto:',@mailto)"/> + </xsl:element><br/></p> + </xsl:when> + </xsl:choose> + </xsl:for-each> +</xsl:template> + +<xsl:template name="doChangesDoc"> + <!-- context is <changes> element --> + <xsl:for-each select="release"> + <h3 class="chgRelease"> + <xsl:value-of select="concat('Release ',@version,' (',@date,')')"/> + </h3> + <xsl:if test="features"> + <h4 class="chgFeatures"><xsl:text>Features</xsl:text></h4> + <xsl:for-each select="features"> + <ul> + <xsl:for-each select="feat"> + <li><xsl:apply-templates/></li> + </xsl:for-each> + </ul> + <hr/> + </xsl:for-each> + </xsl:if> + <xsl:if test="fixes"> + <h4 class="chgFixes"><xsl:text>Bug Fixes</xsl:text></h4> + <xsl:for-each select="fixes"> + <ul> + <xsl:for-each select="fix"> + <li><xsl:apply-templates/></li> + </xsl:for-each> + </ul> + <hr/> + </xsl:for-each> + </xsl:if> + <xsl:call-template name="goToTop"/> + </xsl:for-each> +</xsl:template> + +<!-- THE MATCHING TEMPLATE RULES --> + +<xsl:template match="s1"> + <h2><xsl:value-of select="@title"/></h2> + <xsl:apply-templates/> + <xsl:call-template name="goToTop"/> +</xsl:template> + +<xsl:template match="s2"> + <xsl:call-template name="goToTop"/> + <h3><xsl:value-of select="@title"/></h3> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="s3"> + <xsl:call-template name="goToTop"/> + <h4><xsl:value-of select="@title"/></h4> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="s4"> + <h5><xsl:value-of select="@title"/></h5> + <xsl:apply-templates/> +</xsl:template> + +<!--<!ENTITY % blocks "p|note|ul|ol|gloss|table|source|anchor">--> + +<xsl:template match="p"> + <p><xsl:apply-templates/></p> +</xsl:template> + +<xsl:template match="ul"> + <ul><xsl:apply-templates/></ul> +</xsl:template> + +<xsl:template match="ol"> + <ol><xsl:apply-templates/></ol> +</xsl:template> + +<xsl:template match="li"> + <li><xsl:apply-templates/></li> +</xsl:template> + +<xsl:template match="table"> + <table border="1"><xsl:apply-templates/></table> +</xsl:template> + +<xsl:template match="tr"> + <tr><xsl:apply-templates/></tr> +</xsl:template> + +<xsl:template match="tn"> + <td class="empty"/><!-- empty table element --> +</xsl:template> + +<xsl:template match="th"> + <xsl:element name="th"> + <xsl:attribute name="class">content</xsl:attribute> + <xsl:if test="@rowspan"> + <xsl:attribute name="rowspan"> + <xsl:value-of select="@rowspan"/> + </xsl:attribute> + </xsl:if> + <xsl:if test="@colspan"> + <xsl:attribute name="colspan"> + <xsl:value-of select="@colspan"/> + </xsl:attribute> + </xsl:if> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<xsl:template match="td"> + <xsl:element name="td"> + <xsl:attribute name="class">content</xsl:attribute> + <xsl:if test="@rowspan"> + <xsl:attribute name="rowspan"> + <xsl:value-of select="@rowspan"/> + </xsl:attribute> + </xsl:if> + <xsl:if test="@colspan"> + <xsl:attribute name="colspan"> + <xsl:value-of select="@colspan"/> + </xsl:attribute> + </xsl:if> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<!-- +<xsl:template match="note"> + <blockquote class="note"><xsl:apply-templates/></blockquote> +</xsl:template> +--> + +<xsl:template match="note"> + <xsl:element name="table"> + <xsl:attribute name="class">note</xsl:attribute> + <tr> + <xsl:element name="td"> + <xsl:attribute name="class">noteImg</xsl:attribute> + <xsl:element name="img"> + <xsl:attribute name="src">resources/note.gif</xsl:attribute> + <xsl:attribute name="alt">note</xsl:attribute> + </xsl:element> + </xsl:element> + <xsl:element name="td"> + <xsl:attribute name="class">noteTxt</xsl:attribute> + <xsl:apply-templates/> + </xsl:element> + </tr> + </xsl:element> +</xsl:template> + +<xsl:template match="source"> + <blockquote class="source"><pre><xsl:value-of select="."/></pre></blockquote> +</xsl:template> + +<xsl:template match="hidden"> +<!-- content is hidden --> +</xsl:template> + +<!--<!ENTITY % markup "em|ref|code|br">--> + +<xsl:template match="br"> + <br/> +</xsl:template> + +<xsl:template match="em"> + <b><xsl:apply-templates/></b> +</xsl:template> + +<xsl:template match="code"> + <code><xsl:apply-templates/></code> +</xsl:template> + +<xsl:template match="ref"> + <b><i><xsl:apply-templates/></i></b> +</xsl:template> + +<!-- Glossary Items <label> <item> --> + +<xsl:template match="label"> + <p class="label"><xsl:apply-templates/></p> +</xsl:template> + +<xsl:template match="item"> + <p class="item"><xsl:apply-templates/></p> +</xsl:template> + +<!--<!ENTITY % links "link|anchor|jump|img|resource-ref|human-resource-ref">--> + +<xsl:template match="anchor"> + <xsl:element name="a"> + <xsl:attribute name="name"> + <xsl:value-of select="@name"/> + </xsl:attribute> + <xsl:text>‌</xsl:text> <!-- (zero-width non-join) character --> + </xsl:element> +</xsl:template> + +<xsl:template match="img"> + <xsl:copy-of select="."/> +</xsl:template> + +<!-- Glossary elements "gloss (label|item)* --> + +<xsl:template match="gloss"> + <xsl:element name="div"> + <xsl:attribute name="class">glossary</xsl:attribute> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<xsl:template match="label"> + <p class="label"><em> + <xsl:apply-templates/> + </em></p> +</xsl:template> + +<xsl:template match="item"> + <xsl:element name="blockquote"> + <xsl:attribute name="class">item</xsl:attribute> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<!-- ******** +<!ELEMENT link (#PCDATA|img)*> +<!ATTLIST link idref NMTOKEN #IMPLIED + anchor CDATA #IMPLIED> + +<!ELEMENT jump (#PCDATA|img)*> +<!ATTLIST jump href CDATA #REQUIRED> +************* +--> + +<xsl:template match="link"> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:if test="@idref"> + <xsl:value-of select="concat(@idref, '.html')"/> + </xsl:if> + <xsl:if test="@anchor"> + <xsl:value-of select="concat('#', @anchor)"/> + </xsl:if> + </xsl:attribute> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<xsl:template match="jump"> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="@href"/> + </xsl:attribute> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<!-- cross-reference resource elements --> + +<!-- + Resolve Resource References through "resources.xml" document +--> +<xsl:template match="resource-ref"> + <xsl:variable name="idval" select="@idref"/> + <xsl:variable name="resref" + select="document(concat($xmlsources,'/resources.xml'))//resource[@id=$idval]"/> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="$resref/@location"/> + </xsl:attribute> + <xsl:value-of select="$resref/@title"/> + </xsl:element> +</xsl:template> + +<!-- + Resolve Mailbox References through "resources.xml" document +--> + +<xsl:template match="human-resource-ref"> + <xsl:variable name="idval" select="@idref"/> + <xsl:variable name="resref" + select="document(concat($xmlsources,'/resources.xml'))//human-resource[@id=$idval]"/> + <xsl:element name="a"> + <xsl:attribute name="href"> + <xsl:value-of select="concat('mailto:',$resref/@mailto)"/> + </xsl:attribute> + <xsl:value-of select="$resref/@name"/> + </xsl:element> +</xsl:template> + + +</xsl:stylesheet> Added: xalan/site/xdocs/sources/xalan-apache-org-site.xml URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xalan-apache-org-site.xml?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/xalan-apache-org-site.xml (added) +++ xalan/site/xdocs/sources/xalan-apache-org-site.xml Sat Jun 16 03:57:36 2012 @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<!DOCTYPE book SYSTEM "../style/dtd/book.dtd"> + +<!-- + * Copyright 2000-2012 The Apache Software Foundation. + * + * Licensed 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. +--> + +<book title="Apache Xalan Project " copyright="2011 The Apache Software Foundation"> + <document id="index" label="Apache Xalan" source="xalan-apache-org/index.xml"/> + <document id="charter" label="Charter" source="xalan-apache-org/charter.xml"/> + <separator/> +<!-- + <external href="http://xml.apache.org/xalan-c" label="Xalan C++"/> + <external href="http://xml.apache.org/xalan-j" label="Xalan Java 2"/> +--> +<group label="Projects"> + <external href="xalan-c/index.html" label="Xalan C++"/> + <external href="http://xml.apache.org/xalan-j/index.html" label="Xalan Java"/> +</group> + <separator/> +<group label="Mail Lists"> + <external href="http://marc.theaimsgroup.com/?l=xalan-dev " label="Developers Archive"/> + <external href="http://marc.theaimsgroup.com/?l=xalan-c-users" label="C Users Archive"/> + <external href="http://marc.theaimsgroup.com/?l=xalan-j-users" label="J Users Archive"/> +</group> + <separator/> +<group label="Resources"> + <external href="http://www.apache.org/" label="Apache"/> + <external href="http://www.apache.org/foundation/getinvolved.html" label="Get Involved"/> + <external href="http://www.apache.org/licenses/" label="Licenses"/> + <external href="http://www.apache.org/foundation/sponsorship.html" label="Sponsorship"/> + <external href="http://www.apache.org/foundation/thanks.html" label="Thanks"/> + <external href="http://www.apache.org/security/" label="Security"/> +</group> + <separator/> +</book> Added: xalan/site/xdocs/sources/xalan-apache-org/charter.xml URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xalan-apache-org/charter.xml?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/xalan-apache-org/charter.xml (added) +++ xalan/site/xdocs/sources/xalan-apache-org/charter.xml Sat Jun 16 03:57:36 2012 @@ -0,0 +1,318 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE s1 SYSTEM "../../style/dtd/document.dtd"> +<!-- + * Copyright 2001-2012 The Apache Software Foundation. + * + * Licensed 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. +--> +<s1 title="Xalan Project Charter"> + <s2 title="Xalan Project Charter"> + <p>The following charter applies to all Xalan projects.</p> + </s2> + + <s2 title="1 INTRODUCTION"> + <p>1.1 Apache Xalan is a collaborative software development project + dedicated to providing robust, full-featured, commercial-quality, and + freely available XSLT support on a wide variety of platforms. This + project is managed in cooperation with various individuals worldwide + (both independent and company-affiliated experts), who use the + Internet to communicate, plan, and develop XSLT software and related + documentation.</p> + <p>1.2 This charter briefly describes the mission, history, organization + and processes of the project.</p> + </s2> + + <s2 title="2 MISSION"> + <p>2.1 Apache Xalan exists to promote the use of XSLT. We view XSLT + (Extensible Stylesheet Language Transformations) as a compelling + paradigm that transforms XML documents, thereby facilitating the + exchange, transformation, and presentation of knowledge. The ability + to transform XML documents into usable information has great potential + to improve the functionality and use of information systems. We intend + to build freely available XSLT processing components in order to + engender such improvements.</p> + <p>2.2 Apache Xalan consists of a set of components that transform XML + documents. Where appropriate, these components plug into other XML + components using standard APIs (formal, de facto, or proposed). The + components must be high performance, reliable, and easy to use. Where + inter-related, the components must be part of an underlying architectural + orchestration that will allow them to work together without major + negotiations or breakage.</p> + <p>2.3 We believe that the best way to define this XML transformation + architecture is by having both individuals and corporations + collaborate on the best possible infrastructure, APIs, code, testing, + and release cycles. Components must be vendor neutral and usable as + core components for all.</p> + <p>2.4 In order to achieve a coherent architecture between Apache Xalan + components and other components and applications, standards (formal or + de facto) will be used as much as possible for both protocols and + APIs. Where appropriate, experiences and lessons learned will be fed + back to standards bodies in an effort to assist in the development of + those standards. We will also encourage the innovation of new + protocols, APIs, and components in order to seed new concepts not + yet defined by standards.</p> + </s2> + + <s2 title="3 HISTORY"> + <p>3.1 This project was established under the direction of the Apache + Software Foundation in October 2004 to facilitate joint open-source + development. Prior to October 2004 this project was a subproject + of the Apache XML project.</p> + </s2> + + <s2 title="4 TERMS"> + <p>4.1 The ASF Board. The management board of the Apache Software + Foundation.</p> + <p>4.2 The Project. The Apache Xalan project; intended to refer to the + source code, website, subprojects, and community that are Apache Xalan.</p> + <p>4.3 Subproject. The Apache Xalan project may have subprojects; a + subproject is responsible for a component or application whose scope + is well defined.</p> + <p>4.4 Product. Some deliverable (usually a binary or source package) + that a subproject makes available to the public. Subprojects may have + multiple products.</p> + <p>4.5 Release. A specific version of a product. Subprojects may have + multiple releases of a given product.</p> + <p>4.6 Contributor. Anyone who makes a contribution to the development + of the Apache Xalan project.</p> + <p>4.7 Committer. The Apache Xalan project has a set of committers. + Committers are contributors who have read/write access to the source + code repository.</p> + <p>4.8 PMC. The PMC (Project Management Committee) is the group of people + that form the entity that makes decisions and controls the project. + Individual people or committers do not control the project.</p> + </s2> + + <s2 title="5 THE PROJECT MANAGEMENT COMMITTEE"> + <p>5.1 The Apache Xalan project is managed by a core group of committers + known as the Project Management Committee [PMC]. Subprojects, if any, + much each have at least one representative committer on the PMC.</p> + <p>5.2 The activities of the PMC are coordinated by the Chairperson, + who is an officer of the corporation and reports to the Apache + Board. The Chairperson will, on the request of the Apache Board, + provide reports to the Board on issues related to the running of + the Apache Xalan project.</p> + <p>5.3 The PMC has the following responsibilities:</p> + <p>a) Accepting new subproject proposals, formally submitting these + proposals for Apache Xalan committer vote, and creating the subproject + (see SUBPROJECTS below). This is done in collaboration with the + Incubator (see <jump href="http://incubator.apache.org">http://incubator.apache.org</jump>).</p> + <p>b) Facilitating code or other donations by individuals or companies, + in collaboration with the Incubator.</p> + <p>c) Resolving license issues and other legal issues in conjunction with + the ASF board.</p> + <p>d) Ensuring that administrative and infrastructure work is completed.</p> + <p>e) Facilitating relationships among projects and subprojects.</p> + <p>f) Facilitating relationships between the Apache Xalan project and the + external world.</p> + <p>g) Overseeing Apache Xalan to ensure that the mission defined in this + document is being fulfilled.</p> + <p>h) Resolving conflicts within the project.</p> + <p>i) Reporting to the ASF board (through the Chair) on the progress + of the project.</p> + <p>j) Propose new releases of projects or subprojects. Such proposals pass + if 75% of the PMC members vote in agreement.</p> + + <p>5.4 A contributor can, at any time, nominate a committer to be on the PMC, + by calling for a vote. If two thirds, or more, of the active committers + vote in agreement then the nomination is given to the PMC. The person + becomes a new PMC member if 75% or more of the PMC members vote in + agreement, with no dissenting votes among the PMC members. This individual + should be elected based on merit for the evolution of the project and + demonstration of commitment.</p> + <p>5.5 In cases where the subproject is unable to directly provide a + representative on the PMC, another member of the PMC will be required to + represent that subproject on the PMC. This will be strongly discouraged. + It is preferable that all subprojects have direct representation on the + PMC.</p> + <p>5.6 At least every twelve months, or more often if directed by the ASF + board, the PMC members will elect a Chairperson from among themselves; + the person with the most votes from the other PMC members is recommended + to the ASF board for the position of Chairperson, and with the ASF board's + approval, becomes the Chairperson for the new term.</p> + <p>5.7 Upon agreement by the Apache Board, the recommended Chairperson will, + if they are not already, be appointed an officer of the corporation. See + <jump href="http://www.apache.org/foundation/bylaws.html"> + http://www.apache.org/foundation/bylaws.html</jump> for more information.</p> + <p>5.8 The PMC is responsible for maintaining and updating this charter. + Development must follow the process outlined below, so any change to the + development process necessitates a change to the charter. Proposed changes + to this charter by the PMC are passed if 75% or more of the PMC members + approve the proposal, with no dissenting votes. However, an active Apache + Xalan committer may challenge the change.</p> + <p>5.9 An active Apache Xalan committer may challenge a change to this charter + proposed by the PMC within two weeks of its proposal. When challenged the + proposed change is passed if within two weeks of the challenge the active + committers approve the change with a two-thirds majority vote.</p> + <p>5.10 The PMC ultimately makes the decisions for the project, not the individual + people. At any time the PMC can reject patches or other contributions to the + project if 75% or more of the PMC members vote to reject the contribution.</p> + <p>5.11 A PMC member may resign their membership at any time. However, in the + unlikely event that a member of the PMC becomes disruptive to the process, + such as ceasing to take part in PMC votes, the PMC member may be removed from + the PMC by a vote among the other PMC members. The PMC member is removed if + 75% or more of the other PMC members approve the removal, with no dissenting + votes among the other PMC members.</p> + <p>5.12 A person remains a PMC member until he or she resigns, is removed by a + vote from among the other PMC members, dies or is incapacitated.</p> + </s2> + + <s2 title="6 SUBPROJECTS"> + <p>6.1 A subproject of the Apache Xalan project is responsible for a component + or application whose scope is well defined. Each subproject has its own set + of developers, and is responsible for approving its own committers. Apache + Xalan is composed of subprojects which fit into one of two categories:</p> + <p>(a) An XSLT processor implementation in some particular programming + language. There may be multiple processors for a given language if + the API's the processors support are sufficiently dissimilar. At the + time of writing, there is one processor for C++ and two for Java.</p> + <p>(b) A set of components which are used in related applications and are + tightly bound, usually through internal API's, to one (or more) of the + processor subprojects.</p> + <p>6.2 A new subproject proposal is submitted to the PMC, and then accepted + by a majority Apache Xalan project active committer vote within two weeks + after the proposal.</p> + <p>6.3 Each subproject must have a set of requirements as well as an + up-to-date release plan and design document on its dedicated web page.</p> + <p>6.4 It is recommended that each subproject have a smoke-test system + that works at least as a basic integration test.</p> + <p>6.5 A subproject may be removed if 75% or more of the PMC members approve + the proposal, there are no dissenting votes among the PMC members, + and no challenges by active Apache Xalan project committers + within two weeks after the proposal. + A contributor may challenge the proposed removal + of a subproject within two weeks of the proposal. + In this case the proposed removal is passed if within two weeks of the + challenge the active committers approve the removal with a two-thirds + majority vote. Any subproject removal is subject to the approval of the + ASF board.</p> + </s2> + + <s2 title="7 CONTRIBUTORS"> + <p>7.1 Like all Apache projects, the Apache Xalan project is a + meritocracy -- the more work you do, the more you are allowed to do.</p> + <p>7.2 People who make regular and substantial contributions may become + committers as described below. Contributions include: participating in + mailing lists, reporting issues or bugs in issue-records in the Issue Database, + providing patches, and proposing changes to a product.</p> + <p>7.3 In order to ensure that all code contained in the Apache Xalan + project's code repository is free of licensing, intellectual property and patent + issues, any person wishing to contribute a new feature to Apache Xalan must either + sign:</p> + <p>a) If contributing as an individual, sign the "Individual + Contributor License Agreement (CLA)" + (<jump href="http://www.apache.org/licenses/icla.txt">http://www.apache.org/licenses/icla.txt</jump>) + and file a copy with the Secretary of the Corporation; or </p> + <p>b) If making the contribution as part of their employment + responsibilities, sign the "Corporate CLA (CCLA)", + (<jump href="http://www.apache.org/licenses/cla-corporate.txt">http://www.apache.org/licenses/cla-corporate.txt</jump>) + and file a copy with the Secretary of the Corporation.</p> + <p>7.4 If the contribution in question is a small bugfix, the contributor need + not sign a CLA, but need only provide the following information, attaching + it to the communication containing the patch:</p> + <p>a) Name and employer</p> + <p>b) Are you the author of the code being contributed?</p> + <p>c) Do you have the right to grant the copyright and patent + licenses for the contribution that are set forth in the ASF v.2.0 + license (<jump href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</jump>)?</p> + <p>d) Does your employer have any rights to code that you have + written, for example, through your contract for employment? If + so, has your employer given you permission to contribute the code + on its behalf or waived its rights in the code?</p> + <p>e) Are you aware of any third-party licenses or other + restrictions (such as related patents or trademarks) that could + apply to your contribution? If so, what are they?</p> + </s2> + + <s2 title="8 COMMITTERS"> + <p>8.1 The Apache Xalan project has a set of committers. If there + are subprojects, each subproject will also have a set of committers. + Committers are contributors who have read/write access to the source code + repository. New committers are added when a contributor is nominated by a + committer and approved by at least 50 percent of the active committers for + that subproject with no opposing votes. In most cases, new committers will + already be participating in the development process by submitting suggestions + and/or fixes via issue-records in the Issue Database or mailing lists.</p> + <p>8.2 For the purposes of voting, committers will be classed as "active" or + "inactive". Only active committers will be included in the totals used to + determine the success or failure of a particular vote.</p> + <p>8.3 Committers remain active as long as they are contributing code or + posting to the project or subproject mailing lists. If a committers has + neither contributed code nor posted to the mailing lists in 3 + months, a member of the PMC will e-mail the committer, + the project or subproject development list, and the PMC mailing list + notifying the committer that they are now in inactive status.</p> + <p>8.4 An inactive status will not prevent a committer committing new code + changes or posting to the mailing lists. Either of these activities will + automatically re-activate the committer for the purposes of voting.</p> + </s2> + + <s2 title="9 INFRASTRUCTURE"> + <p>9.1 The Apache Xalan project relies on the Apache XML project + and the Apache Infrastructure project for the following:</p> + <p>a) Issue Database -- This is a system with issue-records, + for tracking bugs, issues, features and requests.</p> + <p>b) Repository -- The xalan.apache.org project has its set + of parts that make up the software, and these parts are + managed in a repository. Committers make changes to the source code, + documentation and other associated parts that are stored in + the repository. Any subproject will have its set of committers + for its repository.</p> + <p>c) Website -- The website <jump href="http://xalan.apache.org">xalan.apache.org</jump> + will contain information about the Apache Xalan project and its subprojects, + including documentation, downloads of releases, and this charter.</p> + <p>d) Mailing Lists -- appropriate mailing lists will be created + at the discretion of the PMC. Such mailing lists could + for example include: a PMC mailing list, a general mailing list, + project or subproject public developer mailing lists, + project or subproject public user mailing lists.</p> + </s2> + + <s2 title="10 LICENSING"> + <p>10.1 All contributions to the Apache Xalan project adhere to the "Apache + Software Foundation License, Version 2.0" + (<jump href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</jump>). + All further contributions, including patches, must be made under the same terms.</p> + <p>10.2 When a committer is considering integrating a contribution + from a contributor who has no CLA on file with the Corporation, + it is the responsibility of the committer, in consultation with + the PMC, to conduct due diligence on the pedigree of the + contribution under consideration; see sections 7.3 and 7.4. </p> + </s2> + + <s2 title="11 THE DEVELOPMENT PROCESS"> + <p>11.1 For a committer to commit a change to the MAIN branch of the + repository an issue-record must be opened in the "Issue Database" + to track the change. The status of the issue must be kept up to date.</p> + <p>11.2 No voting is required to commit changes, but one other active + committer must review the changes. Before the changes are committed, the reviewer + must add a comment in the corresponding issue-record indicating that + they have reviewed and approve the changes.</p> + <p>11.3 Issue-records and reviews are not required for committing changes to + other experimental branches (not the MAIN branch) in a repository.</p> + </s2> + + <s2 title="12 VOTING"> + <p>12.1 Unless otherwise stated in this mission, votes cast on Apache Xalan + proposals must be made within two weeks of the proposal. A challenge to + a proposal must also be made within two weeks of the proposal. Likewise, + votes cast on challenges must be cast within two weeks of the challenge.</p> + </s2> + + <s2 title="13 RELATIONSHIP TO OTHER APACHE PROJECTS"> + <p>13.1 The Apache Xalan project should work closely with other Apache + projects, such as Xerces and XML, to avoid redundancy + and achieve a coherent architecture among Apache Xalan and these + projects.</p> + </s2> +</s1> Added: xalan/site/xdocs/sources/xalan-apache-org/index.xml URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xalan-apache-org/index.xml?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/xalan-apache-org/index.xml (added) +++ xalan/site/xdocs/sources/xalan-apache-org/index.xml Sat Jun 16 03:57:36 2012 @@ -0,0 +1,106 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE s1 SYSTEM "../../style/dtd/document.dtd"> +<!-- + * Copyright 1999-2012 The Apache Software Foundation. + * + * Licensed 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. +--> +<s1 title="The Apache Xalan Project"> + +<p>Xalan is an XSLT processor for transforming XML documents into HTML, text, or +other XML document types. It uses the Xerces (XML Parser) to convert XML +documents to internal nodesets.</p> + +<p>The project name and logo are derived from the ancient Xalam musical instrument +found in Africa. Note the difference in spelling.</p> + +<s2 title="Xalan"> +<p>Xalan has moved out of the XML project and is now a project in its own right. +You will find links to all the Xalan subprojects as well as our charter on the menu +at the left of the screen. </p> + +<p>The old releases of Xalan still reside in the XML Project archives.</p> +<ul> +<!-- +* Xalan C++ Version 1.10 [xml.apache.org/xalan-c] +* Xalan Java Version 2.7.1 [xml.apache.org/xalan-j] +--> + <li><jump href="http://xml.apache.org/xalan-c">Xalan C++ Version 1.10</jump></li> + <li><jump href="http://xml.apache.org/xalan-j">Xalan Java Version 2.7.1</jump></li> +</ul> + +<p>The links on the left navigation panel point to the current documentation.</p> +</s2> + +<s2 title="What is Xalan?"> +<p> +As our charter will tell you, the Apache Xalan Project is a collaborative software development +project dedicated to providing robust, full-featured, commercial-quality, and +freely available XSLT support on a wide variety of platforms.</p> +<p>There are currently two subprojects under the Apache Xalan Project: +<jump href="http://xml.apache.org/xalan-c/">Xalan C++</jump>, and +<jump href="http://xml.apache.org/xalan-j/">Xalan Java</jump>, representing +C++ and Java implementations of the <jump href="http://www.w3.org/TR/xslt">W3C XSL Transformations (XSLT) +Version 1.0</jump> and the <jump href="http://www.w3.org/TR/xpath">XML Path Language (XPath) Version 1.0</jump> +recommendations.</p> +</s2> + +<s2 title="What is XSLT and XPath?"> +<p>XSLT is the first part of the <jump href="http://www.w3.org/TR/xsl/">Extensible Stylesheet Language (XSL)</jump>. +It includes the XSL Transformation (XSLT) vocabulary and XPath, a language for addressing parts of XML documents. +XSL also includes a vocabulary for specifying formatting semantics, however, +this is not part of the Apache Xalan Project. For more information on formatting objects, see the +<jump href="http://xml.apache.org/fop/">Apache XML FOP (Formatting Objects Project)</jump>. + </p> + +<p>XSLT implementations, sometimes referred to as XSLT processors, use an XSL stylesheet to transform +XML documents into HTML, text, or other XML document types. In structural terms, an XSL stylesheet +specifies the transformation of one tree of nodes (the XML input) into another tree of nodes (the output or +transformation result).</p> +</s2> + +<s2 title="License information"> +<p>Xalan C++ and Xalan Java are made available under the <jump href="http://www.apache.org/licenses/LICENSE-2.0"> +Apache Software License, Version 2.0.</jump></p> +</s2> + +<s2 title="Getting Involved"> +<p>We always appreciate people and organizations that wish to help +in the development and project support efforts.</p> + +<p>You can follow the activity by reviewing the project +mail lists. Posting messages to these lists is how we +coordinate the activites related to the our projects.</p> + +<p>The developers mail list [<jump href="mailto:[email protected]">xalan-dev</jump>] + is for communicating issues to the Apache Xalan development teams. +Both the Java and C/C++ groups monitor the developers list. +All project change notices are posted to the developers list.</p> + +<p>Each sub-project has its own mail list for project specific user +issues.</p> + +<p>The user list for Xalan C++ + [<jump href="mailto:[email protected]">xalan-c-users</jump>] is +for general user comments on the Xalan C++ project.</p> + +<p>The user list for Xalan Java + [<jump href="mailto:[email protected]">xalan-j-users</jump>] is +for general user comments on the Xalan Java project.</p> + +<p>The Apache Software Foundation has guidance on + <jump href="http://www.apache.org/foundation/getinvolved.html">how to +participate</jump> in the various development efforts.</p> +</s2> + +</s1> Added: xalan/site/xdocs/sources/xslt-resources/Xalan-Logo-tm.png URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xslt-resources/Xalan-Logo-tm.png?rev=1350856&view=auto ============================================================================== Binary file - no diff available. Propchange: xalan/site/xdocs/sources/xslt-resources/Xalan-Logo-tm.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: xalan/site/xdocs/sources/xslt-resources/Xalan-Logo.txt URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xslt-resources/Xalan-Logo.txt?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/xslt-resources/Xalan-Logo.txt (added) +++ xalan/site/xdocs/sources/xslt-resources/Xalan-Logo.txt Sat Jun 16 03:57:36 2012 @@ -0,0 +1,85 @@ + +The XALAN Logo + +Graphic: A stylized version of the African Xalam instrument. + + + +TEXT FONTS SIZE AND STYLE: + +TM (trademark) + + Font: Arial + Size: 14pt + Style: Bold) + +XSLT + + Font: Arial + Size: 22pt + Style: Bold + +Apache Software Foundation + + Font: Arial + Size: 18pt + Style: Bold + Note: 2 space characters between words + +Xalan (trademark name) + + Font: Segoe Print + Size: 48pt + Style: Bold + +Xalan-C (trademark name) + + Font: Segoe Print + Size: 48pt + Style: Bold + +Xalan-J (trademark name) + + Font: Segoe Print + Size: 48pt + Style: Bold + + +INSTRUMENT GRAPHIC (vector equations) + + Vertical Width: 0.75 inch (3/4) + HorizontalLength: 3.667 inch (3 2/3) + + Oval on the left, + neck and butt on the right. + + Oval Width: 0.75 inch (3/4) + Oval Length: 1.583 inch (1 7/12) + + Neck Width: 0.167 inch (1/6) + + Butt Width: 0.25 inch (1/4) + Butt Length: 0.417 inch (5/12) + + +Description of instrument logo + + Oval: simulation of a gourd sound chamber + With orange gradation hues + + Neck: rectangle simulating a round fingerboard + With yellow-green gradation hues + + Butt: rounded rectangle simulating end of neck + With olive-green hue + + String Anchor: rounded rectangle on the gourd + With olive-green hue + + 2 strings: the full length from Anchor to Butt + + 2 strings: tied to neck, at 1/2 length from Anchor to Butt + + 3 Loose Tie Strings on the Butt, simulating tuning anchors + + \ No newline at end of file Added: xalan/site/xdocs/sources/xslt-resources/Xalan-Trademark.txt URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xslt-resources/Xalan-Trademark.txt?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/xslt-resources/Xalan-Trademark.txt (added) +++ xalan/site/xdocs/sources/xslt-resources/Xalan-Trademark.txt Sat Jun 16 03:57:36 2012 @@ -0,0 +1,106 @@ + +The XALAN Logo - Trademark Description +-------------------------------------- + +Prepared By: + + Steven J. Hathaway + + ([email protected]) + + September 3, 2011 + + + +Prepared for: + + The Apache Software Foundation + +-------------------------------------- + +Graphic: A stylized version of the African Xalam instrument. + +Note: the difference in spelling. + + Xalam is the African Musical Instrument + Xalan is the Apache Xalan Software Project + + +TEXT FONTS SIZE AND STYLE: + +TM (trademark symbol) + + Font: Arial + Size: 14pt + Style: Bold) + +XSLT + + Font: Arial + Size: 22pt + Style: Bold + +Apache Software Foundation (trademark name) + + Font: Arial + Size: 18pt + Style: Bold + Note: 2 space characters between words + +Xalan (trademark name) + + Font: Segoe Print + Size: 48pt + Style: Bold + +Xalan-C (trademark name) + + Font: Segoe Print + Size: 48pt + Style: Bold + +Xalan-J (trademark name) + + Font: Segoe Print + Size: 48pt + Style: Bold + + +INSTRUMENT GRAPHIC (vector equations) + + Vertical Width: 0.75 inch (3/4) + HorizontalLength: 3.667 inch (3 2/3) + + Oval on the left, + neck and butt on the right. + + Oval Width: 0.75 inch (3/4) + Oval Length: 1.583 inch (1 7/12) + + Neck Width: 0.167 inch (1/6) + + Butt Width: 0.25 inch (1/4) + Butt Length: 0.417 inch (5/12) + + +Description of instrument logo + + Oval: simulation of a gourd sound chamber + With orange gradation hues + + Neck: rectangle simulating a round fingerboard + With yellow-green gradation hues + + Butt: rounded rectangle simulating end of neck + With olive-green hue + + String Anchor: rounded rectangle on the gourd + With olive-green hue + + 2 strings: the full length from Anchor to Butt + + 2 strings: tied to neck, at 1/2 length from Anchor to Butt + + 3 Loose Tie Strings on the Butt, simulating tuning anchors + + \ No newline at end of file Added: xalan/site/xdocs/sources/xslt-resources/apache-xalan.css URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xslt-resources/apache-xalan.css?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/sources/xslt-resources/apache-xalan.css (added) +++ xalan/site/xdocs/sources/xslt-resources/apache-xalan.css Sat Jun 16 03:57:36 2012 @@ -0,0 +1,414 @@ +/* Xalan-C/C++ Project Web Pages (css) Stylesheet */ + +/* + * 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. +*/ + +/* This (css) stylesheet renders the xhtml web pages that were generated + * from StyleBook XML markup using the "xalan-book.xslt" transformation. +*/ + +html > bod {left:0;} +body { +/* background-color: white; */ + background-color: #f8f8f0; + color: black; + padding: 0; + margin: 0; + font-family: arial, "lucida console", san-serif; +} + +/* Emulate table align=center */ +div.centered, td.centered { + text-align: center; +} + +div.centered table { + margin: 0 auto; + text-align: left; +} + +/* + * ID Sections + */ + +#content { + width: 80%; + float: left; + font-size: 12pt; + padding-top: 1em; + padding-left: 5px; + margin-left: 10px; + border-left: 1px solid #aaa; +} + +#navLeft { + clear: left; + width: 15%; + float: left; + padding: 2px; + margin-left: 1%; + color: red; + position: relative; + left: 1px; + background-color: #eee; +} + +.navGroup { + color: Black; + font-size: 14pt; +} + + +#title { + color: black; + background-color: #eee; + text-align: center; + border-bottom: 1px solid #aaa; + padding: 0; + vertical-align: middle; +} + +table.HdrTitle { + font-size: 18pt; +} + +table.HdrButtons { + font-size: 8pt; + background-color: #ccf; + align: "center"; + border: "1"; + +} + +#footer { + clear: both; + margin: 0 2em; + color: #444; + background-color: #ddd; + text-align: center; + padding: .5em 0; + font-size: 75%; + border-top: 1px solid #aaa; +} + +/* + * Anchors + */ + +a { + color: blue; + text-decoration: undedrline; +} + +a img { + border: 0; +} + +a:hover { + text-decoration: none; + background-color: #d7c9c9; +} + +/* + * Headers + */ + +h1 {} + +#title h1 { + padding: 1px 0; + margin: 0; + float: right; + width: 60%; + font-size: 20pt; + text-align: center; +} + +#content h1 { background-color: #8af } + +h2 {} + +#title h2 { + font-size: 14pt; + width: 60%; + text-alignment: center; + padding: 1px 0; + margin: 0; +} + +#content h2 { background-color: #9bf } + +#content h2.year { + background-color: #ddd; + text-align: center; +} + +h3 {} + +#content h3.monthName { + background-color: #333; + text-align: center; +} + +#content h3 { background-color: #acf } + +h4{} + +#content h4.eventTitle { + margin-left: 1%; + border-bottom: 1px solid blue; +} + +#content h4 { background-color: #cdf } + +/* + * Tables + */ + +th {} + +td {} + +th.content {background-color: #4BD } +td.content {background-color: #AEF } + +/* + * Lists and navLeft + */ + +ul {} + +#navLeft ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +#navLeft ul li { + margin: 0; +} + +#navLeft ul li p { + margin: 0; +} + +#navLeft ul li ul { + list-style-type: none; + font-size: 90%; + margin: 0 2em; +} + +#navLeft ul li ul li { + margin: 0; +} + +/* + * Paragraphs + */ + +p {} + +#navLeft p { + text-align: center; + padding: 0 auto; + margin: 0; +} + +#footer p { + padding: 0; +} + +#content p.topalign { + vertical-align: middle; + height: 2em; + text-align: center; + width: 100%; + padding: .5em; + border: 1px solid #ddd; +} + +#content p.topalign img { + vertical-align: middle; + text-align: text-middle; +} + +#content p.quote { + color:black; + font-style: italic; + font-size: 110%; + margin-left: 10%; + margin-right: 10%; + padding 1em; + border: 1px solid #ddd; + text-align: center; +} + +#content p.navbar { + font-size: 90%; + text-align: center; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; +} + +blockquote {} + +blockquote.note { + font-size: 80%; + border: 1px solid #ddd; + background-color: #eee; +} + +td.noteImg { + background-color: white; + border: 0; +} + +td.noteTxt { + background-color: white; + font-size: 120%; + border: 2px solid #ddd; + background-color: #eee; +} + +/** + ** UNSPECIFIED IN APACHE STYLEBOOK DTD + ** <caution>..</caution> and <warning>..</warning> + ** + * + * td.cautionImg { + * background-color: white; + * border: 0; + * } + * + * td.cautionTxt { + * background-color: white; + * font-size: 120%; + * border: 2px solid #ddd; + * background-color: #eee; + * } + * + * + * td.warningImg { + * background-color: white; + * border: 0; + * } + * + * td.warningTxt { + * background-color: white; + * font-size: 120%; + * border: 2px solid #ddd; + * background-color: #eee; + * } + * +**/ + + +blockquote.source { + font-size: 75%; +} + +code { + font-size: 75%; +} + + +/* + * Special Table (note) + */ + +#notediv div { background-color: white } + +table.note { + width: 90%; +} + +td.noteImg { + background-color: white; + vertical-align: top; + border: 0; + width: 24; +} + +td.noteTxt { + color: black; + background-color: #eee; + font-size: 90%; + border: 2px solid; + border-color: #ccc; +} + + +/* + * Images + */ + +img {} + + +#footer img { + border: 0; +} + + +/* + * Document Divisions + */ + +div {} + +/* + * Pre + */ + +pre {} + + +/* + * Generic Classes + */ + +.indented { + margin-left: 3%; +} + +.topBanner { + float: right; + margin: 0; + border: 0; + vertical-align: middle; +} + +.noborder { + border: 0; + margin: 0; +} + + + + + + + + + + + + + + + Added: xalan/site/xdocs/sources/xslt-resources/asf_logo.png URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xslt-resources/asf_logo.png?rev=1350856&view=auto ============================================================================== Binary file - no diff available. Propchange: xalan/site/xdocs/sources/xslt-resources/asf_logo.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: xalan/site/xdocs/sources/xslt-resources/note.gif URL: http://svn.apache.org/viewvc/xalan/site/xdocs/sources/xslt-resources/note.gif?rev=1350856&view=auto ============================================================================== Binary file - no diff available. Propchange: xalan/site/xdocs/sources/xslt-resources/note.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: xalan/site/xdocs/style/dtd/blocks.ent URL: http://svn.apache.org/viewvc/xalan/site/xdocs/style/dtd/blocks.ent?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/style/dtd/blocks.ent (added) +++ xalan/site/xdocs/style/dtd/blocks.ent Sat Jun 16 03:57:36 2012 @@ -0,0 +1,40 @@ +<?xml encoding='US-ASCII'?> + +<!-- BLOCKS ENTITY --> +<!ENTITY % blocks "p|note|ul|ol|gloss|table|source|anchor"> + +<!-- import the external markup.ent dtd --> +<!ENTITY % markupEntity SYSTEM "markup.ent"> +%markupEntity; + +<!ENTITY % content "(#PCDATA|%markup;|%links;)*"> + +<!ELEMENT p %content;> +<!ELEMENT note %content;> + +<!ELEMENT ul (li|ol|ul)+> +<!ELEMENT ol (li|ol|ul)+> +<!ELEMENT li %content;> + +<!ELEMENT gloss (label|item)+> +<!ELEMENT label %content;> +<!ELEMENT item %content;> + +<!ELEMENT source (#PCDATA)> + +<!ELEMENT table (tr)+> + +<!ELEMENT tr (tn|th|td)+> + +<!ELEMENT tn EMPTY> +<!ATTLIST tn colspan CDATA "1" + rowspan CDATA "1"> + +<!ELEMENT th %content;> +<!ATTLIST th colspan CDATA "1" + rowspan CDATA "1"> + +<!ELEMENT td %content;> +<!ATTLIST td colspan CDATA "1" + rowspan CDATA "1"> + \ No newline at end of file Added: xalan/site/xdocs/style/dtd/book.dtd URL: http://svn.apache.org/viewvc/xalan/site/xdocs/style/dtd/book.dtd?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/style/dtd/book.dtd (added) +++ xalan/site/xdocs/style/dtd/book.dtd Sat Jun 16 03:57:36 2012 @@ -0,0 +1,56 @@ +<?xml encoding='US-ASCII'?> + +<!-- STYLEBOOK BOOK DTD --> + +<!-- import the external source-specific dtd --> +<!ENTITY % externalEntity SYSTEM "../../sources/entities.ent"> +%externalEntity; + +<!ELEMENT book (resources?|document|hidden|faqs|changes|group|external|separator)+> +<!ATTLIST book title CDATA #REQUIRED + copyright CDATA #IMPLIED> + +<!ELEMENT resources EMPTY> +<!ATTLIST resources source CDATA #REQUIRED> + +<!ELEMENT document EMPTY> +<!ATTLIST document id ID #REQUIRED + source CDATA #REQUIRED + label CDATA #REQUIRED> + +<!ELEMENT hidden EMPTY> +<!ATTLIST hidden id ID #REQUIRED + source CDATA #REQUIRED> + +<!ELEMENT faqs EMPTY> +<!ATTLIST faqs id ID #REQUIRED + source CDATA #REQUIRED + label CDATA #REQUIRED> + +<!ELEMENT changes EMPTY> +<!ATTLIST changes id ID #REQUIRED + source CDATA #REQUIRED + label CDATA #REQUIRED> + +<!-- (entry) not supported in markup, cannot be tested --> +<!-- (group) not to have entry children, only standard children --> +<!-- <!ELEMENT group (entry)+> --> + +<!ELEMENT group (document|faqs|changes|external)+> +<!ATTLIST group id ID #IMPLIED + label CDATA #REQUIRED> + +<!-- (entry) not supported in markup, cannot be tested +<!ELEMENT entry EMPTY> +<!ATTLIST entry id ID #REQUIRED + source CDATA #REQUIRED> +--> + +<!ELEMENT external EMPTY> +<!ATTLIST external label CDATA #REQUIRED + href CDATA #REQUIRED> + +<!ELEMENT separator EMPTY> + +<!-- CVS $Revision: 1.3 $ $Date: 1999/12/01 23:03:37 $ --> +<!-- Revision by ([email protected]) 2011/09/01 --> \ No newline at end of file Added: xalan/site/xdocs/style/dtd/changes.dtd URL: http://svn.apache.org/viewvc/xalan/site/xdocs/style/dtd/changes.dtd?rev=1350856&view=auto ============================================================================== --- xalan/site/xdocs/style/dtd/changes.dtd (added) +++ xalan/site/xdocs/style/dtd/changes.dtd Sat Jun 16 03:57:36 2012 @@ -0,0 +1,24 @@ +<?xml encoding='US-ASCII'?> + +<!-- STYLEBOOK CHANGES DTD --> + +<!-- import the external markup.ent dtd --> +<!ENTITY % markupEntity SYSTEM "markup.ent"> +%markupEntity; + +<!ENTITY % content "(#PCDATA|%markup;|%links;)*"> + +<!ELEMENT changes (release)+> +<!ATTLIST changes title CDATA #REQUIRED> + +<!ELEMENT release ((features,fixes)|(features)|(fixes))> +<!ATTLIST release version CDATA #REQUIRED + date CDATA #IMPLIED> + +<!ELEMENT features (feat)+> +<!ELEMENT fixes (fix)+> + +<!ELEMENT feat %content;> +<!ELEMENT fix %content;> + +<!-- CVS $Revision: 1.3 $ $Date: 1999/12/01 23:03:37 $ --> \ No newline at end of file