[richfaces-svn-commits] JBoss Rich Faces SVN: r2493 - in trunk: docs/taglibxsl and 30 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Aug 24 21:40:39 EDT 2007
Author: alexsmirnov
Date: 2007-08-24 21:40:38 -0400 (Fri, 24 Aug 2007)
New Revision: 2493
Added:
trunk/docs/taglibxsl/
trunk/docs/taglibxsl/pom.xml
trunk/docs/taglibxsl/src/
trunk/docs/taglibxsl/src/main/
trunk/docs/taglibxsl/src/main/java/
trunk/docs/taglibxsl/src/main/java/org/
trunk/docs/taglibxsl/src/main/java/org/richfaces/
trunk/docs/taglibxsl/src/main/java/org/richfaces/App.java
trunk/docs/taglibxsl/src/main/resources/
trunk/docs/taglibxsl/src/main/resources/com/
trunk/docs/taglibxsl/src/main/resources/com/sun/
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-frame.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-noframe.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/function.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/help-doc.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/index.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-frame.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-summary.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/stylesheet.css
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tag.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-frame.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-summary.html.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl
trunk/docs/taglibxsl/src/test/
trunk/docs/taglibxsl/src/test/java/
trunk/docs/taglibxsl/src/test/java/org/
trunk/docs/taglibxsl/src/test/java/org/richfaces/
trunk/docs/taglibxsl/src/test/java/org/richfaces/AppTest.java
trunk/docs/taglibxsl/target/
trunk/docs/taglibxsl/target/classes/
trunk/docs/taglibxsl/target/classes/com/
trunk/docs/taglibxsl/target/classes/com/sun/
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-frame.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-noframe.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/function.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/help-doc.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/index.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-frame.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-summary.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/stylesheet.css
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tag.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-frame.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-summary.html.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl
trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl
trunk/docs/taglibxsl/target/classes/org/
trunk/docs/taglibxsl/target/classes/org/richfaces/
trunk/docs/taglibxsl/target/classes/org/richfaces/App.class
trunk/docs/taglibxsl/target/surefire-reports/
trunk/docs/taglibxsl/target/surefire-reports/TEST-org.richfaces.AppTest.xml
trunk/docs/taglibxsl/target/surefire-reports/org.richfaces.AppTest.txt
trunk/docs/taglibxsl/target/taglibxsl-3.1.0-SNAPSHOT.jar
trunk/docs/taglibxsl/target/test-classes/
trunk/docs/taglibxsl/target/test-classes/org/
trunk/docs/taglibxsl/target/test-classes/org/richfaces/
trunk/docs/taglibxsl/target/test-classes/org/richfaces/AppTest.class
trunk/samples/richfaces-demo/src/main/xslt/
trunk/samples/richfaces-demo/src/main/xslt/f.xsl
Modified:
trunk/docs/pom.xml
trunk/samples/richfaces-demo/pom.xml
trunk/ui/assembly/pom.xml
Log:
include generated tlddoc into demo application
Modified: trunk/docs/pom.xml
===================================================================
--- trunk/docs/pom.xml 2007-08-25 00:45:32 UTC (rev 2492)
+++ trunk/docs/pom.xml 2007-08-25 01:40:38 UTC (rev 2493)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>root</artifactId>
@@ -66,15 +67,15 @@
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
- <dependencies>
- <dependency>
- <groupId>com.uwyn</groupId>
- <artifactId>jhighlight</artifactId>
- <version>1.0</version>
- </dependency>
- </dependencies>
-
+ <dependencies>
+ <dependency>
+ <groupId>com.uwyn</groupId>
+ <artifactId>jhighlight</artifactId>
+ <version>1.0</version>
+ </dependency>
+ </dependencies>
+
<modules>
<module>xslt</module>
<!--
@@ -82,5 +83,6 @@
<module>maven-docbook-plugin</module>
-->
<module>userguide</module>
- </modules>
+ <module>taglibxsl</module>
+ </modules>
</project>
\ No newline at end of file
Added: trunk/docs/taglibxsl/pom.xml
===================================================================
--- trunk/docs/taglibxsl/pom.xml (rev 0)
+++ trunk/docs/taglibxsl/pom.xml 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,21 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>docs</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>taglibxsl</artifactId>
+ <name>taglibxsl</name>
+ <version>3.1.0-SNAPSHOT</version>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Property changes on: trunk/docs/taglibxsl/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Revision Author
Added: trunk/docs/taglibxsl/src/main/java/org/richfaces/App.java
===================================================================
--- trunk/docs/taglibxsl/src/main/java/org/richfaces/App.java (rev 0)
+++ trunk/docs/taglibxsl/src/main/java/org/richfaces/App.java 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,13 @@
+package org.richfaces;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Property changes on: trunk/docs/taglibxsl/src/main/java/org/richfaces/App.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Revision Author
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-frame.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-frame.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-frame.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags frame (lower left corner), listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:apply-templates
+ select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
+ <xsl:sort select="../javaee:short-name"/>
+ <xsl:sort select="javaee:name"/>
+ </xsl:apply-templates>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-frame.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-noframe.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-noframe.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-noframe.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags page, listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:apply-templates
+ select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
+ <xsl:sort select="../javaee:short-name"/>
+ <xsl:sort select="javaee:name"/>
+ </xsl:apply-templates>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target"></xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/alltags-noframe.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/function.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/function.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/function.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : function.html.xsl
+ Created on : Februrary 25, 2003, 7:39 PM
+ Author : mroth
+ Description:
+ Creates the function detail page (right frame), listing the known
+ information for a given function in a tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+ <xsl:param name="tlddoc-functionName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="javaee:function"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <xsl:if test="javaee:name=$tlddoc-functionName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../javaee:display-name!=''">
+ <xsl:value-of select="../javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../javaee:short-name!=''">
+ <xsl:value-of select="../javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:name"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title><xsl:value-of select="$title"/></title>
+ <meta name="keywords" content="$title"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2><font size="-1"><xsl:value-of select="$tldname"/></font><br/>
+ Function <xsl:value-of select="javaee:name"/></h2>
+ <code>
+ <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
+ <b> <xsl:value-of select="javaee:name"/></b>(<xsl:value-of
+ select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ <hr/>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/><br/>
+ <p/>
+ <xsl:if test="javaee:example!=''">
+ <b>Example:</b><br/>
+ <pre>
+<xsl:value-of select="javaee:example"/>
+ </pre>
+ <p/>
+ </xsl:if>
+ <hr/>
+
+ <!-- Function Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Function Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-class!=''">
+ <xsl:value-of select="javaee:function-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Signature</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-signature!=''">
+ <xsl:value-of select="javaee:function-signature"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/function.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/help-doc.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/help-doc.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/help-doc.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : help-doc.html.xsl
+ Created on : October 2, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the help-doc page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <HTML>
+ <HEAD>
+ <TITLE>
+ API Help (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </TITLE>
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"/>
+ </HEAD>
+ <SCRIPT>
+ function asd() {
+ parent.document.title="API Help (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </SCRIPT>
+ <BODY BGCOLOR="white" onload="asd();">
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <CENTER>
+ <H1>How This Tag Library Document Is Organized</H1>
+ </CENTER>
+ This TLD (Tag Library Descriptor) document has pages corresponding
+ to the items in the navigation bar, described as follows.
+ <H3>Overview</H3>
+ <BLOCKQUOTE>
+ <P/>
+ The <A HREF="overview-summary.html">Overview</A> page is the front
+ page of this TLD document and provides a list of all tag libraries
+ with a summary for each.
+ </BLOCKQUOTE>
+ <H3>Library</H3>
+ <BLOCKQUOTE>
+ <P/>
+ Each tag library has a page that contains a list of its
+ validator, listeners, tags, and functions, with a summary for each.
+ This page can contain four categories:
+ <UL>
+ <li>Validator</li>
+ <li>Listeners</li>
+ <li>Tags</li>
+ <li>Functions</li>
+ </UL>
+ </BLOCKQUOTE>
+ <H3>Validator</H3>
+ <BLOCKQUOTE>
+ <P/>
+ A tag library can have at most one validator. If a tag library
+ has a validator, it has its own page describing the validator,
+ the class that implements the validator, and the available
+ initialization parameters.
+ </BLOCKQUOTE>
+ <h3>Listeners</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more listeners. If a tag library
+ has at least one listener, a page is generated that lists all
+ listener classes registered for the tag library.
+ </blockquote>
+ <h3>Tags</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more tags. Each tag has its own
+ page that describes the tag, its display name, its unique action
+ name, the class that implements the tag, the TagExtraInfo class,
+ the body content type, scripting variable information, attributes,
+ whether the tag supports dynamic attributes, and an optional
+ example use of the tag.
+ </blockquote>
+ <h3>Functions</h3>
+ <blockquote>
+ <p/>
+ A tag library can contain zero or more EL functions. If a tag
+ library has at least one function, a page is generated that lists
+ all functions, the class that implements the function, the
+ function signature, and an optional example use of the function.
+ </blockquote>
+ <!--
+ <H3>Index</H3>
+ <BLOCKQUOTE>
+ The <A HREF="index-files/index-1.html">Index</A> contains an
+ alphabetic list of all validators, listeners, tags, functions,
+ variables, and attributes.
+ </BLOCKQUOTE>
+ -->
+ <H3>Prev/Next</H3>
+ <blockquote>
+ These links take you to the next or previous validator, listener,
+ tag, function, or related page.
+ </blockquote>
+ <H3>Frames/No Frames</H3>
+ <blockquote>
+ These links show and hide the HTML frames. All pages are available
+ with or without frames.
+ </blockquote>
+ <BR/>
+ <HR/>
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </BODY>
+ </HTML>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/help-doc.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/index.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/index.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/index.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : index.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the index page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>
+ </title>
+ </head>
+ <frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="overview-frame.html" name="tldListFrame"/>
+ <frame src="alltags-frame.html" name="tldFrame"/>
+ </frameset>
+ <frame src="overview-summary.html" name="tagFrame"/>
+ </frameset>
+ <noframes>
+ <h2>Frame Alert</h2>
+ <p/>
+ This document is designed to be viewed using the frames feature.
+ If you see this message, you are using a non-frame-capable web
+ client.
+ <br/>
+ Link to <a href="overview-summary.html">Non-frame version.</a>
+ </noframes>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/index.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-frame.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-frame.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-frame.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : overview-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the overview frame (upper left corner), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameTitleFont">
+ <b><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></b>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font class="FrameItemFont">
+ <a href="alltags-frame.html" target="tldFrame"><xsl:text>All Tags / Functions</xsl:text></a>
+ </font>
+ <p/>
+ <font size="+1" class="FrameHeadingFont">
+ Tag Libraries
+ </font>
+ <br/>
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </td>
+ </tr>
+ </table>
+ <p/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <font class="FrameItemFont">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-frame.html</xsl:attribute>
+ <xsl:attribute name="target">tldFrame</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </font>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-frame.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-summary.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-summary.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-summary.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : overview-summary.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates an overview summary (right frame), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <center>
+ <h2><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></h2>
+ </center>
+ <table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <tr BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <td COLSPAN="2"><font SIZE="+2">
+ <b>Tag Libraries</b>
+ </font></td>
+ </tr>
+ <xsl:apply-templates select="/javaee:tlds/javaee:taglib"/>
+ </table>
+ <p/>
+ <hr/>
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
+ <td WIDTH="20%"><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-summary.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </b></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <pre>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/overview-summary.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/stylesheet.css
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/stylesheet.css (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/stylesheet.css 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,60 @@
+/* Javadoc style sheet */
+
+/*
+ * <license>
+ * Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Sun Microsystems, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * </license>
+ */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF }
+
+/* Table colors */
+.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
+.TableRowColor { background: #FFFFFF } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameItemFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+
+/* Example of smaller, sans-serif font in frames */
+/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
+
+/* Navigation bar fonts and colors */
+.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */
+.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/stylesheet.css
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tag.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tag.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tag.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,317 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tag.html.xsl
+ Created on : December 18, 2002, 5:22 PM
+ Author : mroth
+ Description:
+ Creates the tag detail page (right frame), listing the known
+ information for a given tag in a tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+ <xsl:param name="tlddoc-tagName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:if test="javaee:name=$tlddoc-tagName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../javaee:display-name!=''">
+ <xsl:value-of select="../javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../javaee:short-name!=''">
+ <xsl:value-of select="../javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:name"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+
+ <!-- Tag Information -->
+ <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Tag Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:tag-class!=''">
+ <xsl:value-of select="javaee:tag-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>TagExtraInfo Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:tei-class!=''">
+ <xsl:value-of select="javaee:tei-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Body Content</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:body-content!=''">
+ <xsl:value-of select="javaee:body-content"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+
+ <!-- Attribute Information -->
+ <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Attributes</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:attribute)>0">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Required</b></td>
+ <td><b>Request-time</b></td>
+ <td><b>Type</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:attribute"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="5"><i>No Attributes Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+
+ <!-- Variable Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Variables</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:variable)>0">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Type</b></td>
+ <td><b>Declare</b></td>
+ <td><b>Scope</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:variable"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="2"><i>No Variables Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:attribute">
+ <tr valign="top">
+ <td><xsl:apply-templates select="javaee:name"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:required!=''">
+ <xsl:value-of select="javaee:required"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:rtexprvalue!=''">
+ <xsl:value-of select="javaee:rtexprvalue"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-value">
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-value/javaee:type">
+ <code>javax.el.ValueExpression</code>
+ <br/>(<i>must evaluate to </i><code><xsl:value-of
+ select="javaee:deferred-value/javaee:type"/></code>)
+ </xsl:when>
+ <xsl:otherwise>
+ <code>javax.el.ValueExpression</code>
+ <br/>(<i>must evaluate to </i><code>java.lang.Object</code>)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="javaee:deferred-method">
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-method/javaee:method-signature">
+ <code>javax.el.MethodExpression</code>
+ <br/>(<i>signature must match </i><code><xsl:value-of
+ select="javaee:deferred-method/javaee:method-signature"/></code>)
+ </xsl:when>
+ <xsl:otherwise>
+ <code>javax.el.MethodExpression</code>
+ <br/>(<i>signature must match </i><code>void methodname()</code>)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="javaee:type!=''">
+ <code><xsl:value-of select="javaee:type"/></code>
+ </xsl:when>
+ <xsl:otherwise>
+ <code>java.lang.String</code>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:variable">
+ <tr>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:name-given!=''">
+ <xsl:value-of select="javaee:name-given"/>
+ </xsl:when>
+ <xsl:when test="javaee:name-from-attribute!=''">
+ <i>From attribute '<xsl:value-of select="javaee:name-from-attribute"/>'</i>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>Unknown</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:variable-class!=''">
+ <code><xsl:value-of select="javaee:variable-class"/></code>
+ </xsl:when>
+ <xsl:otherwise><code>java.lang.String</code></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:declare!=''">
+ <xsl:value-of select="javaee:declare"/>
+ </xsl:when>
+ <xsl:otherwise>true</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:scope!=''">
+ <xsl:value-of select="javaee:scope"/>
+ </xsl:when>
+ <xsl:otherwise>NESTED</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tag.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-frame.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-frame.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-frame.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tld-frame.html.xsl
+ Created on : December 18, 2002, 11:40 AM
+ Author : mroth
+ Description:
+ Creates the TLD frame (lower-left hand corner), listing the tags
+ and functions that are in this particular tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="tldfull">
+ <xsl:value-of select="$tldname"/>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ (<xsl:value-of select="javaee:description" disable-output-escaping="yes"/>)
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$tldfull"/>
+ </title>
+ <meta name="keywords" content="$tldfull"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($tldfull)"/>";
+ }
+ </script>
+ </head>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameTitleFont">
+ <a href="tld-summary.html" target="tagFrame">
+ <xsl:value-of select="$tldname"/>
+ </a>
+ </font>
+ <table border="0" width="100%">
+ <xsl:if test="(count(javaee:tag)+count(javaee:tag-file))>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Tags
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:function)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Functions
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:function"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:validator)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Validator
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:validator"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:listener)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Listeners
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:listener"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ <!-- <table ... -->
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:validator">
+ <br/>
+ <xsl:value-of select="javaee:validator-class"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:listener">
+ <br/>
+ <xsl:value-of select="javaee:listener-class"/>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-frame.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-summary.html.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-summary.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-summary.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tld-summary.html.xsl
+ Created on : December 18, 2002, 3:46 PM
+ Author : mroth
+ Description:
+ Creates the TLD summary (right frame), listing the tags
+ and functions that are in this particular tag library and
+ their descriptions.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="$tldname"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title><xsl:value-of select="$title"/></title>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="styie"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2><xsl:value-of select="$tldname"/></h2>
+ <hr/>
+ <xsl:if test="(javaee:uri!='') and (javaee:short-name!='')">
+ <b>Standard Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" tagdir="<xsl:value-of select="javaee:uri"/>" %><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" uri="<xsl:value-of select="javaee:uri"/>" %><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <br/>
+ <b>XML Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptagdir:<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:when test='starts-with(javaee:uri,"/")'>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptld:<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <hr/>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <pre>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ <p/>
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Library Information</b></font>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <td><xsl:value-of select="javaee:display-name"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>Version</td>
+ <xsl:choose>
+ <xsl:when test="javaee:tlib-version!=''">
+ <td><xsl:value-of select="javaee:tlib-version"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>Short Name</td>
+ <xsl:choose>
+ <xsl:when test="javaee:short-name!=''">
+ <td><xsl:value-of select="javaee:short-name"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>URI</td>
+ <xsl:choose>
+ <xsl:when test="javaee:uri!=''">
+ <td><xsl:value-of select="javaee:uri"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ </table>
+  
+ <p/>
+ <!-- tags and tag files -->
+ <xsl:if test="(count(javaee:tag)+count(javaee:tag-file)) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Summary</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- functions -->
+ <xsl:if test="count(javaee:function) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="3">
+ <font size="+2"><b>Function Summary</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:function"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- validators -->
+ <xsl:if test="count(javaee:validator) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Library Validator</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:validator"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- listeners -->
+ <xsl:if test="count(javaee:listener) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td>
+ <font size="+2"><b>Listeners</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:listener"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- taglib-extensions -->
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Java, JSP, and JavaServer Pages are trademarks or registered
+ trademarks of Sun Microsystems, Inc. in the US and other countries.
+ Copyright 2002-3 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%" nowrap="" align="right">
+ <code><xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/></code>
+ </td>
+ <td width="15%" nowrap="">
+ <code><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </b>( <xsl:value-of select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:validator">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b><xsl:value-of select="javaee:validator-class"/></b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="count(javaee:init-param)>0">
+ <blockquote>
+ <b>Initialization Parameters:</b><br/>
+ <table border="1">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Value</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:init-param"/>
+ </table>
+ </blockquote>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:init-param">
+ <tr valign="top">
+ <td><xsl:value-of select="javaee:param-name"/></td>
+ <td><xsl:value-of select="javaee:param-value"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:param-description!=''">
+ <xsl:value-of select="javaee:param-description"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:listener">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td>
+ <b><xsl:value-of select="javaee:listener-class"/></b>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld-summary.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Translates a JSP 1.1 TLD into a JSP 1.2 TLD, using the following
+ conversion rules:
+
+ 1. Change the document type definition for the TLD to:
+ <!DOCTYPE taglib
+ PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+ "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+ 2. Change the <tlibversion> element to <tlib-version>
+ 3. Change the optional <jspversion> element to <jsp-version>. If no
+ element exists, supply one that's set to 1.2
+ 4. Change the <shortname> element to <short-name>
+ 5. Preserve the original optional <uri> tag
+ 6. Change the optional <info> tag to <description>
+ 7. Preserve each tag/name
+ 8. Change each tag/tagclass to tag/tag-class
+ 9. Change each optional tag/teiclass to tag/tei-class
+ 10. Change each optional tag/bodycontent to tag/body-content
+ 11. Change each optional tag/info to tag/description
+ 12. Preserve each tag/attribute element and its contents.
+
+ Side-effect: Strips the id attributes
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"
+ doctype-system="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
+ doctype-public="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"/>
+
+ <xsl:template match="/taglib">
+ <taglib>
+ <xsl:apply-templates select="tlibversion"/>
+ <jsp-version>1.2</jsp-version>
+ <xsl:apply-templates select="shortname"/>
+ <xsl:apply-templates select="uri"/>
+ <xsl:apply-templates select="info"/>
+ <xsl:apply-templates select="tag"/>
+ </taglib>
+ </xsl:template>
+
+ <!-- Rename to tlib-version -->
+ <xsl:template match="tlibversion">
+ <tlib-version><xsl:apply-templates/></tlib-version>
+ </xsl:template>
+
+ <!-- Rename to jsp-version -->
+ <xsl:template match="jspversion">
+ <jsp-version><xsl:apply-templates/></jsp-version>
+ </xsl:template>
+
+ <!-- Rename to short-name -->
+ <xsl:template match="shortname">
+ <short-name><xsl:apply-templates/></short-name>
+ </xsl:template>
+
+ <!-- Preserve uri -->
+ <xsl:template match="uri">
+ <uri><xsl:apply-templates/></uri>
+ </xsl:template>
+
+ <!-- Rename to description -->
+ <xsl:template match="info">
+ <description><xsl:apply-templates/></description>
+ </xsl:template>
+
+ <xsl:template match="tag">
+ <tag>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="tagclass"/>
+ <xsl:apply-templates select="teiclass"/>
+ <xsl:apply-templates select="bodycontent"/>
+ <xsl:apply-templates select="info"/>
+ <xsl:apply-templates select="attribute"/>
+ </tag>
+ </xsl:template>
+
+ <!-- Preserve name -->
+ <xsl:template match="name">
+ <name><xsl:apply-templates/></name>
+ </xsl:template>
+
+ <!-- Rename to tag-class -->
+ <xsl:template match="tagclass">
+ <tag-class><xsl:apply-templates/></tag-class>
+ </xsl:template>
+
+ <!-- Rename to tei-class -->
+ <xsl:template match="teiclass">
+ <tei-class><xsl:apply-templates/></tei-class>
+ </xsl:template>
+
+ <!-- Rename to body-content -->
+ <xsl:template match="bodycontent">
+ <body-content><xsl:apply-templates/></body-content>
+ </xsl:template>
+
+ <!-- Rename to description -->
+ <xsl:template match="info">
+ <description><xsl:apply-templates/></description>
+ </xsl:template>
+
+ <!-- Preserve attribute -->
+ <xsl:template match="attribute">
+ <attribute>
+ <xsl:apply-templates/>
+ </attribute>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Translates a JSP 1.2 TLD into a JSP 2.0 TLD, using the following
+ conversion rules:
+
+ 1. Change the <taglib> element to read as follows:
+ <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
+ 2. Remove all id attributes from all elements.
+ 3. Remove <jsp-version> element and add an attribute to <taglib>
+ called 'version' with the value "2.0".
+ 4. Under <taglib>, if a <description> element exists, move it to
+ the top.
+ 5. Under <taglib>, if a <display-name> element exists, move it
+ to the top, after the <description> element.
+ 6. Under <taglib>, if a <small-icon> and/or <large-icon> element
+ exists, wrap them in an <icon> element and move it to the
+ top, after the <display-name> element.
+ 7. For each taglib/validator element, if a <description> element
+ exists, move it to the top, under <validator>.
+ 8. For each taglib/validator/init-param element, if a
+ <description> element exists, move it to the top, under
+ <init-param>.
+ 9. For each taglib/tag element, if a <description> element
+ exists, move it to the top, under <tag>.
+ 10. For each taglib/tag element, if a <display-name> element
+ exists, move it to the top, after the <description> element,
+ under <tag>.
+ 11. For each taglib/tag element, if a <small-icon> and/or
+ <large-icon> element exists, wrap them in an <icon> element
+ and move it to the top, after the <display-name> element,
+ under <tag>.
+ 12. For each taglib/tag element, if no <body-content> element
+ exists, supply a default value of "JSP"
+ 13. For each taglib/tag/variable element, if a <description>
+ element exists, move it to the top, under <variable>.
+ 14. For each taglib/tag/attribute element, if a <description>
+ element exists, move it to the top, under <attribute>.
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/j2ee">
+ <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.0</xsl:attribute>
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="display-name"/>
+ <xsl:if test="small-icon|large-icon">
+ <icon xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="small-icon"/>
+ <xsl:apply-templates select="large-icon"/>
+ </icon>
+ </xsl:if>
+ <xsl:apply-templates select="tlib-version"/>
+ <xsl:apply-templates select="short-name"/>
+ <xsl:apply-templates select="uri"/>
+ <xsl:apply-templates select="validator"/>
+ <xsl:apply-templates select="listener"/>
+ <xsl:apply-templates select="tag"/>
+ </xsl:element>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="description">
+ <description xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </description>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="display-name">
+ <display-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </display-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tlib-version">
+ <tlib-version xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tlib-version>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="short-name">
+ <short-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </short-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="uri">
+ <uri xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </uri>
+ </xsl:template>
+
+ <xsl:template match="validator">
+ <validator xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="validator-class"/>
+ <xsl:apply-templates select="init-param"/>
+ </validator>
+ </xsl:template>
+
+ <xsl:template match="init-param">
+ <init-param xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="param-name"/>
+ <xsl:apply-templates select="param-value"/>
+ </init-param>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="param-name">
+ <param-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </param-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="param-value">
+ <param-value xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </param-value>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="listener">
+ <listener xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="listener-class"/>
+ </listener>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="listener-class">
+ <listener-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </listener-class>
+ </xsl:template>
+
+ <xsl:template match="tag">
+ <tag xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="display-name"/>
+ <xsl:if test="small-icon|large-icon">
+ <icon xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="small-icon"/>
+ <xsl:apply-templates select="large-icon"/>
+ </icon>
+ </xsl:if>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="tag-class"/>
+ <xsl:apply-templates select="tei-class"/>
+ <xsl:choose>
+ <xsl:when test="body-content">
+ <xsl:apply-templates select="body-content"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!--
+ - Explicitly Insert the default body-content since this is
+ - now a required element
+ -->
+ <body-content xmlns="http://java.sun.com/xml/ns/j2ee">JSP</body-content>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="variable"/>
+ <xsl:apply-templates select="attribute"/>
+ <xsl:apply-templates select="example"/>
+ </tag>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="name">
+ <name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tag-class">
+ <tag-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tag-class>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tei-class">
+ <tei-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tei-class>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="body-content">
+ <body-content xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </body-content>
+ </xsl:template>
+
+ <xsl:template match="variable">
+ <variable xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="name-given"/>
+ <xsl:apply-templates select="name-from-attribute"/>
+ <xsl:apply-templates select="variable-class"/>
+ <xsl:apply-templates select="declare"/>
+ <xsl:apply-templates select="scope"/>
+ </variable>
+ </xsl:template>
+
+ <xsl:template match="attribute">
+ <attribute xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="required"/>
+ <xsl:apply-templates select="rtexprvalue"/>
+ <xsl:apply-templates select="type"/>
+ </attribute>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="required">
+ <required xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </required>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="rtexprvalue">
+ <rtexprvalue xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </rtexprvalue>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="example">
+ <example xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </example>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Identity transformation (changing from the J2EE namespace
+ to the Java EE namespace), added for flexibility.
+
+ 1. Change the <taglib> element to read as follows:
+ <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/j2ee:taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.1</xsl:attribute>
+ <xsl:apply-templates select="*"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="j2ee:*">
+ <xsl:element name="{local-name()}" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl
===================================================================
--- trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl (rev 0)
+++ trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Identity transformation, added for flexibility.
+
+ 1. Remove any tag-extension, function-extension and taglib-extension
+ elements.
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/javaee:taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:attribute name="xsi:schemaLocation"
+ namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.1</xsl:attribute>
+ <xsl:apply-templates select="*"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag-extension">
+ </xsl:template>
+
+ <xsl:template match="javaee:function-extension">
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib-extension">
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="text()">
+ <xsl:value-of select="normalize-space(.)" />
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/src/test/java/org/richfaces/AppTest.java
===================================================================
--- trunk/docs/taglibxsl/src/test/java/org/richfaces/AppTest.java (rev 0)
+++ trunk/docs/taglibxsl/src/test/java/org/richfaces/AppTest.java 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,38 @@
+package org.richfaces;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
Property changes on: trunk/docs/taglibxsl/src/test/java/org/richfaces/AppTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Revision Author
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-frame.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-frame.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-frame.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags frame (lower left corner), listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:apply-templates
+ select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
+ <xsl:sort select="../javaee:short-name"/>
+ <xsl:sort select="javaee:name"/>
+ </xsl:apply-templates>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-frame.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-noframe.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-noframe.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-noframe.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags page, listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:apply-templates
+ select="javaee:tlds/javaee:taglib/javaee:tag|javaee:tlds/javaee:taglib/javaee:tag-file|javaee:tlds/javaee:taglib/javaee:function">
+ <xsl:sort select="../javaee:short-name"/>
+ <xsl:sort select="javaee:name"/>
+ </xsl:apply-templates>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target"></xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="../javaee:short-name"/>/<xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/alltags-noframe.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/function.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/function.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/function.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : function.html.xsl
+ Created on : Februrary 25, 2003, 7:39 PM
+ Author : mroth
+ Description:
+ Creates the function detail page (right frame), listing the known
+ information for a given function in a tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+ <xsl:param name="tlddoc-functionName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="javaee:function"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <xsl:if test="javaee:name=$tlddoc-functionName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../javaee:display-name!=''">
+ <xsl:value-of select="../javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../javaee:short-name!=''">
+ <xsl:value-of select="../javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:name"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title><xsl:value-of select="$title"/></title>
+ <meta name="keywords" content="$title"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2><font size="-1"><xsl:value-of select="$tldname"/></font><br/>
+ Function <xsl:value-of select="javaee:name"/></h2>
+ <code>
+ <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
+ <b> <xsl:value-of select="javaee:name"/></b>(<xsl:value-of
+ select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ <hr/>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/><br/>
+ <p/>
+ <xsl:if test="javaee:example!=''">
+ <b>Example:</b><br/>
+ <pre>
+<xsl:value-of select="javaee:example"/>
+ </pre>
+ <p/>
+ </xsl:if>
+ <hr/>
+
+ <!-- Function Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Function Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-class!=''">
+ <xsl:value-of select="javaee:function-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Signature</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-signature!=''">
+ <xsl:value-of select="javaee:function-signature"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Tag </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/function.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/help-doc.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/help-doc.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/help-doc.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : help-doc.html.xsl
+ Created on : October 2, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the help-doc page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <HTML>
+ <HEAD>
+ <TITLE>
+ API Help (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </TITLE>
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"/>
+ </HEAD>
+ <SCRIPT>
+ function asd() {
+ parent.document.title="API Help (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </SCRIPT>
+ <BODY BGCOLOR="white" onload="asd();">
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <CENTER>
+ <H1>How This Tag Library Document Is Organized</H1>
+ </CENTER>
+ This TLD (Tag Library Descriptor) document has pages corresponding
+ to the items in the navigation bar, described as follows.
+ <H3>Overview</H3>
+ <BLOCKQUOTE>
+ <P/>
+ The <A HREF="overview-summary.html">Overview</A> page is the front
+ page of this TLD document and provides a list of all tag libraries
+ with a summary for each.
+ </BLOCKQUOTE>
+ <H3>Library</H3>
+ <BLOCKQUOTE>
+ <P/>
+ Each tag library has a page that contains a list of its
+ validator, listeners, tags, and functions, with a summary for each.
+ This page can contain four categories:
+ <UL>
+ <li>Validator</li>
+ <li>Listeners</li>
+ <li>Tags</li>
+ <li>Functions</li>
+ </UL>
+ </BLOCKQUOTE>
+ <H3>Validator</H3>
+ <BLOCKQUOTE>
+ <P/>
+ A tag library can have at most one validator. If a tag library
+ has a validator, it has its own page describing the validator,
+ the class that implements the validator, and the available
+ initialization parameters.
+ </BLOCKQUOTE>
+ <h3>Listeners</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more listeners. If a tag library
+ has at least one listener, a page is generated that lists all
+ listener classes registered for the tag library.
+ </blockquote>
+ <h3>Tags</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more tags. Each tag has its own
+ page that describes the tag, its display name, its unique action
+ name, the class that implements the tag, the TagExtraInfo class,
+ the body content type, scripting variable information, attributes,
+ whether the tag supports dynamic attributes, and an optional
+ example use of the tag.
+ </blockquote>
+ <h3>Functions</h3>
+ <blockquote>
+ <p/>
+ A tag library can contain zero or more EL functions. If a tag
+ library has at least one function, a page is generated that lists
+ all functions, the class that implements the function, the
+ function signature, and an optional example use of the function.
+ </blockquote>
+ <!--
+ <H3>Index</H3>
+ <BLOCKQUOTE>
+ The <A HREF="index-files/index-1.html">Index</A> contains an
+ alphabetic list of all validators, listeners, tags, functions,
+ variables, and attributes.
+ </BLOCKQUOTE>
+ -->
+ <H3>Prev/Next</H3>
+ <blockquote>
+ These links take you to the next or previous validator, listener,
+ tag, function, or related page.
+ </blockquote>
+ <H3>Frames/No Frames</H3>
+ <blockquote>
+ These links show and hide the HTML frames. All pages are available
+ with or without frames.
+ </blockquote>
+ <BR/>
+ <HR/>
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </BODY>
+ </HTML>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/help-doc.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/index.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/index.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/index.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : index.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the index page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>
+ </title>
+ </head>
+ <frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="overview-frame.html" name="tldListFrame"/>
+ <frame src="alltags-frame.html" name="tldFrame"/>
+ </frameset>
+ <frame src="overview-summary.html" name="tagFrame"/>
+ </frameset>
+ <noframes>
+ <h2>Frame Alert</h2>
+ <p/>
+ This document is designed to be viewed using the frames feature.
+ If you see this message, you are using a non-frame-capable web
+ client.
+ <br/>
+ Link to <a href="overview-summary.html">Non-frame version.</a>
+ </noframes>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/index.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-frame.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-frame.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-frame.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : overview-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the overview frame (upper left corner), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameTitleFont">
+ <b><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></b>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font class="FrameItemFont">
+ <a href="alltags-frame.html" target="tldFrame"><xsl:text>All Tags / Functions</xsl:text></a>
+ </font>
+ <p/>
+ <font size="+1" class="FrameHeadingFont">
+ Tag Libraries
+ </font>
+ <br/>
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </td>
+ </tr>
+ </table>
+ <p/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <font class="FrameItemFont">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-frame.html</xsl:attribute>
+ <xsl:attribute name="target">tldFrame</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </font>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-frame.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-summary.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-summary.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-summary.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : overview-summary.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates an overview summary (right frame), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(/javaee:tlds/javaee:config/javaee:window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <center>
+ <h2><xsl:value-of select="/javaee:tlds/javaee:config/javaee:doc-title"/></h2>
+ </center>
+ <table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <tr BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <td COLSPAN="2"><font SIZE="+2">
+ <b>Tag Libraries</b>
+ </font></td>
+ </tr>
+ <xsl:apply-templates select="/javaee:tlds/javaee:taglib"/>
+ </table>
+ <p/>
+ <hr/>
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
+ <td WIDTH="20%"><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:short-name"/>/tld-summary.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </b></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <pre>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/overview-summary.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/stylesheet.css
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/stylesheet.css (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/stylesheet.css 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,60 @@
+/* Javadoc style sheet */
+
+/*
+ * <license>
+ * Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * * Neither the name of Sun Microsystems, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * </license>
+ */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF }
+
+/* Table colors */
+.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
+.TableRowColor { background: #FFFFFF } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameItemFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+
+/* Example of smaller, sans-serif font in frames */
+/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
+
+/* Navigation bar fonts and colors */
+.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */
+.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/stylesheet.css
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tag.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tag.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tag.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,317 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tag.html.xsl
+ Created on : December 18, 2002, 5:22 PM
+ Author : mroth
+ Description:
+ Creates the tag detail page (right frame), listing the known
+ information for a given tag in a tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+ <xsl:param name="tlddoc-tagName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <xsl:if test="javaee:name=$tlddoc-tagName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../javaee:display-name!=''">
+ <xsl:value-of select="../javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../javaee:short-name!=''">
+ <xsl:value-of select="../javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:name"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+
+ <!-- Tag Information -->
+ <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Tag Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:tag-class!=''">
+ <xsl:value-of select="javaee:tag-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>TagExtraInfo Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:tei-class!=''">
+ <xsl:value-of select="javaee:tei-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Body Content</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:body-content!=''">
+ <xsl:value-of select="javaee:body-content"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+
+ <!-- Attribute Information -->
+ <table class="doctable" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Attributes</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:attribute)>0">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Required</b></td>
+ <td><b>Request-time</b></td>
+ <td><b>Type</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:attribute"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="5"><i>No Attributes Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+
+ <!-- Variable Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Variables</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:variable)>0">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Type</b></td>
+ <td><b>Declare</b></td>
+ <td><b>Scope</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:variable"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="2"><i>No Variables Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:attribute">
+ <tr valign="top">
+ <td><xsl:apply-templates select="javaee:name"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:required!=''">
+ <xsl:value-of select="javaee:required"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:rtexprvalue!=''">
+ <xsl:value-of select="javaee:rtexprvalue"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-value">
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-value/javaee:type">
+ <code>javax.el.ValueExpression</code>
+ <br/>(<i>must evaluate to </i><code><xsl:value-of
+ select="javaee:deferred-value/javaee:type"/></code>)
+ </xsl:when>
+ <xsl:otherwise>
+ <code>javax.el.ValueExpression</code>
+ <br/>(<i>must evaluate to </i><code>java.lang.Object</code>)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="javaee:deferred-method">
+ <xsl:choose>
+ <xsl:when test="javaee:deferred-method/javaee:method-signature">
+ <code>javax.el.MethodExpression</code>
+ <br/>(<i>signature must match </i><code><xsl:value-of
+ select="javaee:deferred-method/javaee:method-signature"/></code>)
+ </xsl:when>
+ <xsl:otherwise>
+ <code>javax.el.MethodExpression</code>
+ <br/>(<i>signature must match </i><code>void methodname()</code>)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="javaee:type!=''">
+ <code><xsl:value-of select="javaee:type"/></code>
+ </xsl:when>
+ <xsl:otherwise>
+ <code>java.lang.String</code>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:variable">
+ <tr>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:name-given!=''">
+ <xsl:value-of select="javaee:name-given"/>
+ </xsl:when>
+ <xsl:when test="javaee:name-from-attribute!=''">
+ <i>From attribute '<xsl:value-of select="javaee:name-from-attribute"/>'</i>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>Unknown</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:variable-class!=''">
+ <code><xsl:value-of select="javaee:variable-class"/></code>
+ </xsl:when>
+ <xsl:otherwise><code>java.lang.String</code></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:declare!=''">
+ <xsl:value-of select="javaee:declare"/>
+ </xsl:when>
+ <xsl:otherwise>true</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:scope!=''">
+ <xsl:value-of select="javaee:scope"/>
+ </xsl:when>
+ <xsl:otherwise>NESTED</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tag.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-frame.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-frame.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-frame.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tld-frame.html.xsl
+ Created on : December 18, 2002, 11:40 AM
+ Author : mroth
+ Description:
+ Creates the TLD frame (lower-left hand corner), listing the tags
+ and functions that are in this particular tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="tldfull">
+ <xsl:value-of select="$tldname"/>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ (<xsl:value-of select="javaee:description" disable-output-escaping="yes"/>)
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$tldfull"/>
+ </title>
+ <meta name="keywords" content="$tldfull"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($tldfull)"/>";
+ }
+ </script>
+ </head>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameTitleFont">
+ <a href="tld-summary.html" target="tagFrame">
+ <xsl:value-of select="$tldname"/>
+ </a>
+ </font>
+ <table border="0" width="100%">
+ <xsl:if test="(count(javaee:tag)+count(javaee:tag-file))>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Tags
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:function)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Functions
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:function"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:validator)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Validator
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:validator"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:listener)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Listeners
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:listener"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ <!-- <table ... -->
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../javaee:short-name"/>:<xsl:value-of select="javaee:name"/>()</i>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:validator">
+ <br/>
+ <xsl:value-of select="javaee:validator-class"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:listener">
+ <br/>
+ <xsl:value-of select="javaee:listener-class"/>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-frame.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-summary.html.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-summary.html.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-summary.html.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,445 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+ Document : tld-summary.html.xsl
+ Created on : December 18, 2002, 3:46 PM
+ Author : mroth
+ Description:
+ Creates the TLD summary (right frame), listing the tags
+ and functions that are in this particular tag library and
+ their descriptions.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:param name="tlddoc-shortName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="javaee:tlds/javaee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib">
+ <xsl:if test="javaee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:when test="javaee:short-name!=''">
+ <xsl:value-of select="javaee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="$tldname"/>
+ (<xsl:value-of select="/javaee:tlds/javaee:config/javaee:window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title><xsl:value-of select="$title"/></title>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="styie"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2><xsl:value-of select="$tldname"/></h2>
+ <hr/>
+ <xsl:if test="(javaee:uri!='') and (javaee:short-name!='')">
+ <b>Standard Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" tagdir="<xsl:value-of select="javaee:uri"/>" %><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" uri="<xsl:value-of select="javaee:uri"/>" %><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <br/>
+ <b>XML Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptagdir:<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:when test='starts-with(javaee:uri,"/")'>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptld:<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="<xsl:value-of select="javaee:uri"/>" /><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <hr/>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <pre>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ <p/>
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Library Information</b></font>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <td><xsl:value-of select="javaee:display-name"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>Version</td>
+ <xsl:choose>
+ <xsl:when test="javaee:tlib-version!=''">
+ <td><xsl:value-of select="javaee:tlib-version"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>Short Name</td>
+ <xsl:choose>
+ <xsl:when test="javaee:short-name!=''">
+ <td><xsl:value-of select="javaee:short-name"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>URI</td>
+ <xsl:choose>
+ <xsl:when test="javaee:uri!=''">
+ <td><xsl:value-of select="javaee:uri"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><i>None</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ </table>
+  
+ <p/>
+ <!-- tags and tag files -->
+ <xsl:if test="(count(javaee:tag)+count(javaee:tag-file)) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Summary</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:tag|javaee:tag-file"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- functions -->
+ <xsl:if test="count(javaee:function) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="3">
+ <font size="+2"><b>Function Summary</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:function"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- validators -->
+ <xsl:if test="count(javaee:validator) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2"><b>Tag Library Validator</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:validator"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- listeners -->
+ <xsl:if test="count(javaee:listener) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td>
+ <font size="+2"><b>Listeners</b></font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:listener"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- taglib-extensions -->
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"> Library </font> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Java, JSP, and JavaServer Pages are trademarks or registered
+ trademarks of Sun Microsystems, Inc. in the US and other countries.
+ Copyright 2002-3 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag|javaee:tag-file">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.html</xsl:attribute>
+ <xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%" nowrap="" align="right">
+ <code><xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/></code>
+ </td>
+ <td width="15%" nowrap="">
+ <code><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:name"/>.fn.html</xsl:attribute>
+ <xsl:value-of select="javaee:name"/>
+ </xsl:element>
+ </b>( <xsl:value-of select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:validator">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b><xsl:value-of select="javaee:validator-class"/></b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="count(javaee:init-param)>0">
+ <blockquote>
+ <b>Initialization Parameters:</b><br/>
+ <table border="1">
+ <tr>
+ <td><b>Name</b></td>
+ <td><b>Value</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <xsl:apply-templates select="javaee:init-param"/>
+ </table>
+ </blockquote>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:init-param">
+ <tr valign="top">
+ <td><xsl:value-of select="javaee:param-name"/></td>
+ <td><xsl:value-of select="javaee:param-value"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:param-description!=''">
+ <xsl:value-of select="javaee:param-description"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:listener">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td>
+ <b><xsl:value-of select="javaee:listener-class"/></b>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld-summary.html.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Translates a JSP 1.1 TLD into a JSP 1.2 TLD, using the following
+ conversion rules:
+
+ 1. Change the document type definition for the TLD to:
+ <!DOCTYPE taglib
+ PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+ "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+ 2. Change the <tlibversion> element to <tlib-version>
+ 3. Change the optional <jspversion> element to <jsp-version>. If no
+ element exists, supply one that's set to 1.2
+ 4. Change the <shortname> element to <short-name>
+ 5. Preserve the original optional <uri> tag
+ 6. Change the optional <info> tag to <description>
+ 7. Preserve each tag/name
+ 8. Change each tag/tagclass to tag/tag-class
+ 9. Change each optional tag/teiclass to tag/tei-class
+ 10. Change each optional tag/bodycontent to tag/body-content
+ 11. Change each optional tag/info to tag/description
+ 12. Preserve each tag/attribute element and its contents.
+
+ Side-effect: Strips the id attributes
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"
+ doctype-system="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
+ doctype-public="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"/>
+
+ <xsl:template match="/taglib">
+ <taglib>
+ <xsl:apply-templates select="tlibversion"/>
+ <jsp-version>1.2</jsp-version>
+ <xsl:apply-templates select="shortname"/>
+ <xsl:apply-templates select="uri"/>
+ <xsl:apply-templates select="info"/>
+ <xsl:apply-templates select="tag"/>
+ </taglib>
+ </xsl:template>
+
+ <!-- Rename to tlib-version -->
+ <xsl:template match="tlibversion">
+ <tlib-version><xsl:apply-templates/></tlib-version>
+ </xsl:template>
+
+ <!-- Rename to jsp-version -->
+ <xsl:template match="jspversion">
+ <jsp-version><xsl:apply-templates/></jsp-version>
+ </xsl:template>
+
+ <!-- Rename to short-name -->
+ <xsl:template match="shortname">
+ <short-name><xsl:apply-templates/></short-name>
+ </xsl:template>
+
+ <!-- Preserve uri -->
+ <xsl:template match="uri">
+ <uri><xsl:apply-templates/></uri>
+ </xsl:template>
+
+ <!-- Rename to description -->
+ <xsl:template match="info">
+ <description><xsl:apply-templates/></description>
+ </xsl:template>
+
+ <xsl:template match="tag">
+ <tag>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="tagclass"/>
+ <xsl:apply-templates select="teiclass"/>
+ <xsl:apply-templates select="bodycontent"/>
+ <xsl:apply-templates select="info"/>
+ <xsl:apply-templates select="attribute"/>
+ </tag>
+ </xsl:template>
+
+ <!-- Preserve name -->
+ <xsl:template match="name">
+ <name><xsl:apply-templates/></name>
+ </xsl:template>
+
+ <!-- Rename to tag-class -->
+ <xsl:template match="tagclass">
+ <tag-class><xsl:apply-templates/></tag-class>
+ </xsl:template>
+
+ <!-- Rename to tei-class -->
+ <xsl:template match="teiclass">
+ <tei-class><xsl:apply-templates/></tei-class>
+ </xsl:template>
+
+ <!-- Rename to body-content -->
+ <xsl:template match="bodycontent">
+ <body-content><xsl:apply-templates/></body-content>
+ </xsl:template>
+
+ <!-- Rename to description -->
+ <xsl:template match="info">
+ <description><xsl:apply-templates/></description>
+ </xsl:template>
+
+ <!-- Preserve attribute -->
+ <xsl:template match="attribute">
+ <attribute>
+ <xsl:apply-templates/>
+ </attribute>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_1-tld1_2.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Translates a JSP 1.2 TLD into a JSP 2.0 TLD, using the following
+ conversion rules:
+
+ 1. Change the <taglib> element to read as follows:
+ <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
+ 2. Remove all id attributes from all elements.
+ 3. Remove <jsp-version> element and add an attribute to <taglib>
+ called 'version' with the value "2.0".
+ 4. Under <taglib>, if a <description> element exists, move it to
+ the top.
+ 5. Under <taglib>, if a <display-name> element exists, move it
+ to the top, after the <description> element.
+ 6. Under <taglib>, if a <small-icon> and/or <large-icon> element
+ exists, wrap them in an <icon> element and move it to the
+ top, after the <display-name> element.
+ 7. For each taglib/validator element, if a <description> element
+ exists, move it to the top, under <validator>.
+ 8. For each taglib/validator/init-param element, if a
+ <description> element exists, move it to the top, under
+ <init-param>.
+ 9. For each taglib/tag element, if a <description> element
+ exists, move it to the top, under <tag>.
+ 10. For each taglib/tag element, if a <display-name> element
+ exists, move it to the top, after the <description> element,
+ under <tag>.
+ 11. For each taglib/tag element, if a <small-icon> and/or
+ <large-icon> element exists, wrap them in an <icon> element
+ and move it to the top, after the <display-name> element,
+ under <tag>.
+ 12. For each taglib/tag element, if no <body-content> element
+ exists, supply a default value of "JSP"
+ 13. For each taglib/tag/variable element, if a <description>
+ element exists, move it to the top, under <variable>.
+ 14. For each taglib/tag/attribute element, if a <description>
+ element exists, move it to the top, under <attribute>.
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/j2ee">
+ <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.0</xsl:attribute>
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="display-name"/>
+ <xsl:if test="small-icon|large-icon">
+ <icon xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="small-icon"/>
+ <xsl:apply-templates select="large-icon"/>
+ </icon>
+ </xsl:if>
+ <xsl:apply-templates select="tlib-version"/>
+ <xsl:apply-templates select="short-name"/>
+ <xsl:apply-templates select="uri"/>
+ <xsl:apply-templates select="validator"/>
+ <xsl:apply-templates select="listener"/>
+ <xsl:apply-templates select="tag"/>
+ </xsl:element>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="description">
+ <description xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </description>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="display-name">
+ <display-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </display-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tlib-version">
+ <tlib-version xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tlib-version>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="short-name">
+ <short-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </short-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="uri">
+ <uri xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </uri>
+ </xsl:template>
+
+ <xsl:template match="validator">
+ <validator xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="validator-class"/>
+ <xsl:apply-templates select="init-param"/>
+ </validator>
+ </xsl:template>
+
+ <xsl:template match="init-param">
+ <init-param xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="param-name"/>
+ <xsl:apply-templates select="param-value"/>
+ </init-param>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="param-name">
+ <param-name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </param-name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="param-value">
+ <param-value xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </param-value>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="listener">
+ <listener xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="listener-class"/>
+ </listener>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="listener-class">
+ <listener-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </listener-class>
+ </xsl:template>
+
+ <xsl:template match="tag">
+ <tag xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="display-name"/>
+ <xsl:if test="small-icon|large-icon">
+ <icon xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="small-icon"/>
+ <xsl:apply-templates select="large-icon"/>
+ </icon>
+ </xsl:if>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="tag-class"/>
+ <xsl:apply-templates select="tei-class"/>
+ <xsl:choose>
+ <xsl:when test="body-content">
+ <xsl:apply-templates select="body-content"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!--
+ - Explicitly Insert the default body-content since this is
+ - now a required element
+ -->
+ <body-content xmlns="http://java.sun.com/xml/ns/j2ee">JSP</body-content>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates select="variable"/>
+ <xsl:apply-templates select="attribute"/>
+ <xsl:apply-templates select="example"/>
+ </tag>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="name">
+ <name xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </name>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tag-class">
+ <tag-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tag-class>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="tei-class">
+ <tei-class xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </tei-class>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="body-content">
+ <body-content xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </body-content>
+ </xsl:template>
+
+ <xsl:template match="variable">
+ <variable xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="name-given"/>
+ <xsl:apply-templates select="name-from-attribute"/>
+ <xsl:apply-templates select="variable-class"/>
+ <xsl:apply-templates select="declare"/>
+ <xsl:apply-templates select="scope"/>
+ </variable>
+ </xsl:template>
+
+ <xsl:template match="attribute">
+ <attribute xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates select="description"/>
+ <xsl:apply-templates select="name"/>
+ <xsl:apply-templates select="required"/>
+ <xsl:apply-templates select="rtexprvalue"/>
+ <xsl:apply-templates select="type"/>
+ </attribute>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="required">
+ <required xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </required>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="rtexprvalue">
+ <rtexprvalue xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </rtexprvalue>
+ </xsl:template>
+
+ <!-- Strip the id attribute: -->
+ <xsl:template match="example">
+ <example xmlns="http://java.sun.com/xml/ns/j2ee">
+ <xsl:apply-templates/>
+ </example>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld1_2-tld2_0.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Identity transformation (changing from the J2EE namespace
+ to the Java EE namespace), added for flexibility.
+
+ 1. Change the <taglib> element to read as follows:
+ <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/j2ee:taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.1</xsl:attribute>
+ <xsl:apply-templates select="*"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="j2ee:*">
+ <xsl:element name="{local-name()}" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_0-tld2_1.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl
===================================================================
--- trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl (rev 0)
+++ trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ - * Neither the name of Sun Microsystems, Inc. nor the names of its
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ - </license>
+ -->
+
+<!--
+
+ Identity transformation, added for flexibility.
+
+ 1. Remove any tag-extension, function-extension and taglib-extension
+ elements.
+
+ Author: Mark Roth
+
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:template match="/javaee:taglib">
+ <xsl:element name="taglib" namespace="http://java.sun.com/xml/ns/javaee">
+ <xsl:attribute name="xsi:schemaLocation"
+ namespace="http://www.w3.org/2001/XMLSchema-instance">http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd</xsl:attribute>
+ <xsl:attribute name="version">2.1</xsl:attribute>
+ <xsl:apply-templates select="*"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag-extension">
+ </xsl:template>
+
+ <xsl:template match="javaee:function-extension">
+ </xsl:template>
+
+ <xsl:template match="javaee:taglib-extension">
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="text()">
+ <xsl:value-of select="normalize-space(.)" />
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: trunk/docs/taglibxsl/target/classes/com/sun/tlddoc/resources/tld2_1-tld2_1.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/classes/org/richfaces/App.class
===================================================================
(Binary files differ)
Property changes on: trunk/docs/taglibxsl/target/classes/org/richfaces/App.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/taglibxsl/target/surefire-reports/TEST-org.richfaces.AppTest.xml
===================================================================
--- trunk/docs/taglibxsl/target/surefire-reports/TEST-org.richfaces.AppTest.xml (rev 0)
+++ trunk/docs/taglibxsl/target/surefire-reports/TEST-org.richfaces.AppTest.xml 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite failures="0" time="0.016" errors="0" skipped="0" tests="1" name="org.richfaces.AppTest">
+ <properties>
+ <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
+ <property name="sun.boot.library.path" value="/usr/local/jdk1.6.0_02/jre/lib/i386"/>
+ <property name="java.vm.version" value="1.6.0_02-b05"/>
+ <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
+ <property name="java.vendor.url" value="http://java.sun.com/"/>
+ <property name="path.separator" value=":"/>
+ <property name="java.vm.name" value="Java HotSpot(TM) Server VM"/>
+ <property name="file.encoding.pkg" value="sun.io"/>
+ <property name="user.country" value="US"/>
+ <property name="sun.java.launcher" value="SUN_STANDARD"/>
+ <property name="sun.os.patch.level" value="unknown"/>
+ <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
+ <property name="user.dir" value="/home/asmirnov/work/refactor/richfaces/docs/taglibxsl"/>
+ <property name="java.runtime.version" value="1.6.0_02-b05"/>
+ <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
+ <property name="basedir" value="/home/asmirnov/work/refactor/richfaces/docs/taglibxsl"/>
+ <property name="java.endorsed.dirs" value="/usr/local/jdk1.6.0_02/jre/lib/endorsed"/>
+ <property name="os.arch" value="i386"/>
+ <property name="java.io.tmpdir" value="/tmp"/>
+ <property name="line.separator" value="
+"/>
+ <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
+ <property name="os.name" value="Linux"/>
+ <property name="sun.jnu.encoding" value="UTF-8"/>
+ <property name="java.library.path" value="/usr/local/jdk1.6.0_02/jre/lib/i386/server:/usr/local/jdk1.6.0_02/jre/lib/i386:/usr/local/jdk1.6.0_02/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib"/>
+ <property name="java.specification.name" value="Java Platform API Specification"/>
+ <property name="java.class.version" value="50.0"/>
+ <property name="sun.management.compiler" value="HotSpot Server Compiler"/>
+ <property name="os.version" value="2.6.22.4-65.fc7"/>
+ <property name="user.home" value="/home/asmirnov"/>
+ <property name="user.timezone" value=""/>
+ <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
+ <property name="file.encoding" value="UTF-8"/>
+ <property name="java.specification.version" value="1.6"/>
+ <property name="user.name" value="asmirnov"/>
+ <property name="java.class.path" value="/home/asmirnov/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar:/home/asmirnov/.m2/repository/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.jar:/home/asmirnov/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar:/home/asmirnov/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/home/asmirnov/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar:/home/asmirnov/.m2/repository/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.jar:/home/asmirnov/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar:/home/asmirnov/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar"/>
+ <property name="java.vm.specification.version" value="1.0"/>
+ <property name="sun.arch.data.model" value="32"/>
+ <property name="java.home" value="/usr/local/jdk1.6.0_02/jre"/>
+ <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
+ <property name="user.language" value="en"/>
+ <property name="java.vm.info" value="mixed mode"/>
+ <property name="java.version" value="1.6.0_02"/>
+ <property name="java.ext.dirs" value="/usr/local/jdk1.6.0_02/jre/lib/ext:/usr/java/packages/lib/ext"/>
+ <property name="sun.boot.class.path" value="/usr/local/jdk1.6.0_02/jre/lib/resources.jar:/usr/local/jdk1.6.0_02/jre/lib/rt.jar:/usr/local/jdk1.6.0_02/jre/lib/sunrsasign.jar:/usr/local/jdk1.6.0_02/jre/lib/jsse.jar:/usr/local/jdk1.6.0_02/jre/lib/jce.jar:/usr/local/jdk1.6.0_02/jre/lib/charsets.jar:/usr/local/jdk1.6.0_02/jre/classes"/>
+ <property name="java.vendor" value="Sun Microsystems Inc."/>
+ <property name="localRepository" value="/home/asmirnov/.m2/repository"/>
+ <property name="file.separator" value="/"/>
+ <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
+ <property name="sun.cpu.endian" value="little"/>
+ <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
+ <property name="sun.desktop" value="gnome"/>
+ <property name="sun.cpu.isalist" value=""/>
+ </properties>
+ <testcase time="0.003" name="testApp"/>
+</testsuite>
\ No newline at end of file
Property changes on: trunk/docs/taglibxsl/target/surefire-reports/TEST-org.richfaces.AppTest.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Revision Author
Added: trunk/docs/taglibxsl/target/surefire-reports/org.richfaces.AppTest.txt
===================================================================
--- trunk/docs/taglibxsl/target/surefire-reports/org.richfaces.AppTest.txt (rev 0)
+++ trunk/docs/taglibxsl/target/surefire-reports/org.richfaces.AppTest.txt 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: org.richfaces.AppTest
+-------------------------------------------------------------------------------
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Property changes on: trunk/docs/taglibxsl/target/surefire-reports/org.richfaces.AppTest.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/docs/taglibxsl/target/taglibxsl-3.1.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: trunk/docs/taglibxsl/target/taglibxsl-3.1.0-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/taglibxsl/target/test-classes/org/richfaces/AppTest.class
===================================================================
(Binary files differ)
Property changes on: trunk/docs/taglibxsl/target/test-classes/org/richfaces/AppTest.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml 2007-08-25 00:45:32 UTC (rev 2492)
+++ trunk/samples/richfaces-demo/pom.xml 2007-08-25 01:40:38 UTC (rev 2493)
@@ -35,6 +35,66 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui</artifactId>
+ <version>${project.version}</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+ ${project.build.directory}/richfaces
+ </outputDirectory>
+ <overWriteReleases>
+ false
+ </overWriteReleases>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>net.sourceforge.maven-taglib</groupId>
+ <artifactId>maven-taglib-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>taglibxsl</artifactId>
+ <version>3.1.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <srcDir>
+ ${project.build.directory}/richfaces/META-INF
+ </srcDir>
+ <tldDocDir>
+ ${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc
+ </tldDocDir>
+ </configuration>
+
+ <executions>
+ <execution>
+ <id>attach-javadoc</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>taglibdoc</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
@@ -48,7 +108,9 @@
<webResources>
<resource>
<!-- this is relative to the pom.xml directory -->
- <directory>${basedir}/src/main/java</directory>
+ <directory>
+ ${basedir}/src/main/java
+ </directory>
<targetPath>/WEB-INF/src</targetPath>
</resource>
</webResources>
Added: trunk/samples/richfaces-demo/src/main/xslt/f.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/f.xsl (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/f.xsl 2007-08-25 01:40:38 UTC (rev 2493)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:javaee="http://java.sun.com/JSP/TagLibraryDescriptor"
+ version="1.0" exclude-result-prefixes="javaee">
+ <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
+ <xsl:param name="lang" />
+ <xsl:param name="title" />
+ <xsl:param name="separator" />
+
+ <xsl:template match="javaee:table | table">
+ <xsl:call-template name="tag" />
+ </xsl:template>
+
+ <xsl:template name="tag">
+ <xsl:copy-of select="./*"/>
+ </xsl:template>
+</xsl:transform>
\ No newline at end of file
Property changes on: trunk/samples/richfaces-demo/src/main/xslt/f.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/ui/assembly/pom.xml
===================================================================
--- trunk/ui/assembly/pom.xml 2007-08-25 00:45:32 UTC (rev 2492)
+++ trunk/ui/assembly/pom.xml 2007-08-25 01:40:38 UTC (rev 2493)
@@ -105,7 +105,7 @@
<id>attach-javadoc</id>
<phase>process-resources</phase>
<goals>
- <goal>taglibdoc</goal>
+ <goal>taglibdocjar</goal>
</goals>
</execution>
</executions>
More information about the richfaces-svn-commits
mailing list