-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Xalan-J 2.7.2 Updated Website Sources
git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@1595232 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Steven J. Hathaway
committed
May 16, 2014
1 parent
92062c0
commit cba6d7f
Showing
32 changed files
with
2,942 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<?xml encoding="US-ASCII"?> | ||
<!-- | ||
* 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. | ||
--> | ||
|
||
<!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_2"> | ||
<!ENTITY xslt4j-current "&xslt4j; Version 2.7.2"> | ||
<!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; 2.11.0"> | ||
<!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>'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
#!/bin/sh | ||
# | ||
# Bourne shell script to create xalan-j documentation pages | ||
# | ||
# SET THE LIBRARY PATH FOR YOUR OPERATING SYSTEM, REQUIRED BY "Xalan" PROGRAM | ||
# | ||
# SOLARIS AND LINUX | ||
# export LD_LIBRARY_PATH=/usr/local/lib | ||
# | ||
# AIX AND BSD | ||
# export LIBPATH=/usr/local/lib | ||
# | ||
# HPUX | ||
# export SHLIB_PATH=/usr/local/lib | ||
# | ||
# MAC OS/X | ||
# export DYLD_LIBRARY_PATH=/usr/local/lib | ||
# | ||
# CYGWIN AND MINGW | ||
# export PATH=$PATH;/usr/local/lib | ||
# | ||
|
||
umask 0002 | ||
mkdir -p ../../build/docs/xalan-j/resources | ||
mkdir -p ../../build/docs/xalan-j/xsltc/resources | ||
mkdir -p ../../build/docs/xalan-j/design/resources | ||
|
||
make-jsite.sh bugreporting | ||
make-jsite.sh builds | ||
make-jsite.sh charter | ||
make-jsite.sh commandline | ||
make-jsite.sh commandline_xsltc | ||
make-jsite.sh contact_us | ||
make-jsite.sh downloads | ||
make-jsite.sh dtm | ||
make-jsite.sh extensionslib | ||
make-jsite.sh extensions | ||
make-jsite.sh extensions_xsltc | ||
make-jsite.sh faq | ||
make-jsite.sh features | ||
make-jsite.sh getstarted | ||
make-jsite.sh history | ||
make-jsite.sh index | ||
make-jsite.sh overview | ||
make-jsite.sh public_apis | ||
make-jsite.sh readme | ||
make-jsite.sh resources | ||
make-jsite.sh samples | ||
make-jsite.sh trax | ||
make-jsite.sh usagepatterns | ||
make-jsite.sh whatsnew | ||
make-jsite.sh xpath_apis | ||
make-jsite.sh xsltc_history | ||
make-jsite.sh xsltc_usage | ||
|
||
make-design.sh design2_0_0 | ||
|
||
make-xsltc.sh index | ||
make-xsltc.sh xsl_choose_design | ||
make-xsltc.sh xsl_comment_design | ||
make-xsltc.sh xsl_if_design | ||
make-xsltc.sh xsl_include_design | ||
make-xsltc.sh xsl_key_design | ||
make-xsltc.sh xsl_lang_design | ||
make-xsltc.sh xsl_sort_design | ||
make-xsltc.sh xsltc_compiler | ||
make-xsltc.sh xsltc_dom | ||
make-xsltc.sh xsltc_iterators | ||
make-xsltc.sh xsltc_namespace | ||
make-xsltc.sh xsltc_native_api | ||
make-xsltc.sh xsltc_overview | ||
make-xsltc.sh xsltc_performance | ||
make-xsltc.sh xsltc_predicates | ||
make-xsltc.sh xsltc_runtime | ||
make-xsltc.sh xsltc_trax_api | ||
make-xsltc.sh xsltc_trax | ||
make-xsltc.sh xsl_unparsed_design | ||
make-xsltc.sh xsl_variable_design | ||
make-xsltc.sh xsl_whitespace_design | ||
|
||
#cp xalan-graphic/*.* ../../build/docs/xalan-j | ||
cp ../xslt-resources/*.* ../../build/docs/xalan-j/resources | ||
cp ../xslt-resources/*.* ../../build/docs/xalan-j/xsltc/resources | ||
cp ../xslt-resources/*.* ../../build/docs/xalan-j/design/resources | ||
cp xalan/*.gif ../../build/docs/xalan-j | ||
cp design/*.gif ../../build/docs/xalan-j/design | ||
cp xsltc/*.gif ../../build/docs/xalan-j/xsltc | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
#!/bin/sh | ||
# | ||
# Bourne shell script to create a single xalan-j webpage | ||
# Parameter $1 is the basename of the page to generate. | ||
# | ||
#------------------------------------------------------------- | ||
# | ||
# Set the current path to include the "Xalan" 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 | ||
# | ||
# logolink Logo Image - hot link | ||
# | ||
# bookxml The <book>.xml file for navigation | ||
# | ||
# booklink The Hot-Link for Book Title in Header | ||
# | ||
|
||
# Set some environment variables | ||
|
||
XALANBOOKXML=xalandesign.xml | ||
|
||
XALANCMD=Xalan | ||
|
||
XALANSTYLE=stylebook.xslt | ||
|
||
XALANSRCDIR=design | ||
|
||
XALANOUTDIR=../../build/docs/xalan-j/design | ||
|
||
XALANLOGOIMG=resources/XalanJ-Logo-tm.png | ||
|
||
XALANLOGOWIDTH=190 | ||
|
||
XALANLOGOHEIGHT=90 | ||
|
||
XALANLOGOLINK=../index.html | ||
|
||
XALANTITLELINK=index.html | ||
|
||
WEBCREATED=`date +"%a %F"` | ||
|
||
## DEBUG BEGIN | ||
|
||
#echo INPUT PARAM = $1 | ||
#echo XALANBOOKXML = ${XALANBOOKXML} | ||
#echo XALANCMD = ${XALANCMD} | ||
#echo XALANSTYLE = ${XALANSTYLE} | ||
#echo XALANSRCDIR = ${XALANSRCDIR} | ||
#echo XALANOUTDIR = ${XALANOUTDIR} | ||
#echo XALANLOGOIMG = ${XALANLOGOIMG} | ||
#echo XALANLOGOWIDTH = ${XALANLOGOWIDTH} | ||
#echo XALANLOGOHEIGHT = ${XALANLOGOHEIGHT} | ||
#echo XALANLOGOLINK = ${XALANLOGOLINK} | ||
#echo XALANTITLELINK = ${XALANTITLELINK} | ||
#echo WEBCREATED = ${WEBCREATED} | ||
#exit | ||
|
||
## DEBUG END | ||
|
||
|
||
# | ||
# Create Target Directories | ||
# | ||
|
||
if [ ! -d "${XALANOUTDIR}" ]; then | ||
mkdir -p "${XALANOUTDIR}" | ||
fi | ||
|
||
#IF EXIST "%XALANOUTDIR%" GOTO NEXT1 | ||
#MKDIR "%XALANOUTDIR%" | ||
#:NEXT1 | ||
|
||
if [ ! -d "${XALANOUTDIR}/resources" ] ; then | ||
mkdir -p "${XALANOUTDIR}/resources" | ||
fi | ||
|
||
#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" |
Oops, something went wrong.