You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2005/05/08 17:47:05 UTC
svn commit: r169137 - in /myfaces/trunk/build: build.xml tlddoc-xslt/
tlddoc-xslt/overview-frame.html.xsl tlddoc-xslt/overview-summary.html.xsl
tlddoc-xslt/tag.html.xsl tlddoc-xslt/tld-frame.html.xsl
tlddoc-xslt/tld-summary.html.xsl
Author: schof
Date: Sun May 8 08:47:03 2005
New Revision: 169137
URL: http://svn.apache.org/viewcvs?rev=169137&view=rev
Log:
Fixes MYFACES-92
Added:
myfaces/trunk/build/tlddoc-xslt/
myfaces/trunk/build/tlddoc-xslt/overview-frame.html.xsl
myfaces/trunk/build/tlddoc-xslt/overview-summary.html.xsl
myfaces/trunk/build/tlddoc-xslt/tag.html.xsl
myfaces/trunk/build/tlddoc-xslt/tld-frame.html.xsl
myfaces/trunk/build/tlddoc-xslt/tld-summary.html.xsl
Modified:
myfaces/trunk/build/build.xml
Modified: myfaces/trunk/build/build.xml
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/build.xml?rev=169137&r1=169136&r2=169137&view=diff
==============================================================================
--- myfaces/trunk/build/build.xml (original)
+++ myfaces/trunk/build/build.xml Sun May 8 08:47:03 2005
@@ -24,19 +24,9 @@
<property name="xdoclet.src" location="${project.dir}/src/xdoclet"/>
<property name="generated.src" location="${project.dir}/src/generated"/>
<property name="sign.script" location="${release.dir}/sign.sh"/>
- <property name="tlddoc.dir" location="${build.dir}/tld-doc"/>
- <property name="tlddoc.dtd" location="${tlddoc.dir}/web-jsptaglibrary_1_2.dtd"/>
-
-<!--
-MLB:
-Suggestion for MYFACES-92. Place the xslt files in a separate directory
-from the one create for MYFACES-197. They probably could go in the same;
-but as picky as TLDDoc is; I didn't take the chance.
--->
-<!--
- <property name="tlddoc.xslt.dir" location="${build.dir}/TLDdoc-xslt"/>
--->
-
+ <property name="tlddoc.dtd.dir" location="${build.dir}/tld-doc"/>
+ <property name="tlddoc.dtd" location="${tlddoc.dtd.dir}/web-jsptaglibrary_1_2.dtd"/>
+ <property name="tlddoc.xslt.dir" location="${build.dir}/tlddoc-xslt"/>
<!-- Properties -->
<property file="build.local.properties"/>
@@ -354,10 +344,7 @@
<java fork="true" jar="${tlddoc.jar}" failonerror="true">
<arg line="-doctitle 'Tag library for Apache MyFaces'" />
<arg line="-d ${tlddoc.dir}"/>
-<!--
-MLB: MYFACES-92
<arg line="-xslt ${tlddoc.xslt.dir}"/>
--->
<arg value="${resolved-tlds.dir}/myfaces_ext.tld"/>
<arg value="${generated.src}/myfaces_wap.tld"/>
</java>
Added: myfaces/trunk/build/tlddoc-xslt/overview-frame.html.xsl
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/tlddoc-xslt/overview-frame.html.xsl?rev=169137&view=auto
==============================================================================
--- myfaces/trunk/build/tlddoc-xslt/overview-frame.html.xsl (added)
+++ myfaces/trunk/build/tlddoc-xslt/overview-frame.html.xsl Sun May 8 08:47:03 2005
@@ -0,0 +1,116 @@
+<?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:j2ee="http://java.sun.com/xml/ns/j2ee">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="/j2ee:tlds/j2ee:config/j2ee: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(/j2ee:tlds/j2ee:config/j2ee: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="/j2ee:tlds/j2ee:config/j2ee: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="j2ee:tlds/j2ee:taglib">
+ <xsl:sort select="j2ee:short-name"/>
+ </xsl:apply-templates>
+ </td>
+ </tr>
+ </table>
+ <p/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="j2ee:taglib">
+ <font class="FrameItemFont">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="j2ee:short-name"/>/tld-frame.html</xsl:attribute>
+ <xsl:attribute name="target">tldFrame</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="j2ee:display-name!=''">
+ <xsl:value-of select="j2ee:display-name"/>
+ </xsl:when>
+ <xsl:when test="j2ee:short-name!=''">
+ <xsl:value-of select="j2ee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </font>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Added: myfaces/trunk/build/tlddoc-xslt/overview-summary.html.xsl
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/tlddoc-xslt/overview-summary.html.xsl?rev=169137&view=auto
==============================================================================
--- myfaces/trunk/build/tlddoc-xslt/overview-summary.html.xsl (added)
+++ myfaces/trunk/build/tlddoc-xslt/overview-summary.html.xsl Sun May 8 08:47:03 2005
@@ -0,0 +1,210 @@
+<?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:j2ee="http://java.sun.com/xml/ns/j2ee"
+ 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="/j2ee:tlds/j2ee:config/j2ee: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(/j2ee:tlds/j2ee:config/j2ee: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="/j2ee:tlds/j2ee:config/j2ee: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="/j2ee:tlds/j2ee:taglib">
+ <xsl:sort select="j2ee:short-name"/>
+ </xsl:apply-templates>
+ </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="j2ee:taglib">
+ <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
+ <td WIDTH="20%"><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="j2ee:short-name"/>/tld-summary.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="j2ee:display-name!=''">
+ <xsl:value-of select="j2ee:display-name"/>
+ </xsl:when>
+ <xsl:when test="j2ee:short-name!=''">
+ <xsl:value-of select="j2ee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </b></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <pre>
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
Added: myfaces/trunk/build/tlddoc-xslt/tag.html.xsl
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/tlddoc-xslt/tag.html.xsl?rev=169137&view=auto
==============================================================================
--- myfaces/trunk/build/tlddoc-xslt/tag.html.xsl (added)
+++ myfaces/trunk/build/tlddoc-xslt/tag.html.xsl Sun May 8 08:47:03 2005
@@ -0,0 +1,432 @@
+<?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:j2ee="http://java.sun.com/xml/ns/j2ee"
+ 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-tagName">default</xsl:param>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="j2ee:tlds/j2ee:taglib"/>
+ </xsl:template>
+
+ <xsl:template match="j2ee:taglib">
+ <xsl:if test="j2ee:short-name=$tlddoc-shortName">
+ <xsl:apply-templates select="j2ee:tag|j2ee:tag-file"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="j2ee:tag|j2ee:tag-file">
+ <xsl:if test="j2ee:name=$tlddoc-tagName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="../j2ee:display-name!=''">
+ <xsl:value-of select="../j2ee:display-name"/>
+ </xsl:when>
+ <xsl:when test="../j2ee:short-name!=''">
+ <xsl:value-of select="../j2ee:short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="j2ee:name"/>
+ (<xsl:value-of select="/j2ee:tlds/j2ee:config/j2ee: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="j2ee:name"/>.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/>
+ Tag <xsl:value-of select="j2ee:name"/></h2>
+ <hr/>
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/><br/>
+ <p/>
+ <xsl:if test="j2ee:example!=''">
+ <b>Example:</b><br/>
+ <pre>
+<xsl:value-of select="j2ee:example"/>
+ </pre>
+ <p/>
+ </xsl:if>
+ <hr/>
+
+ <!-- Tag Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" 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="j2ee:tag-class!=''">
+ <xsl:value-of select="j2ee: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="j2ee:tei-class!=''">
+ <xsl:value-of select="j2ee: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="j2ee:body-content!=''">
+ <xsl:value-of select="j2ee: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="j2ee:display-name!=''">
+ <xsl:value-of select="j2ee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+
+ <!-- Attribute Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Attributes</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(j2ee: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="j2ee:attribute">
+ <xsl:sort select="j2ee:name"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="5"><i>No Attributes Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+ <br/>
+ <p/>
+
+ <!-- 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(j2ee: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="j2ee:variable">
+ <xsl:sort select="j2ee:name"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="2"><i>No Variables Defined.</i></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </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="j2ee:name"/>.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:template match="j2ee:attribute">
+ <tr valign="top">
+ <td><xsl:apply-templates select="j2ee:name"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:required!=''">
+ <xsl:value-of select="j2ee:required"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:rtexprvalue!=''">
+ <xsl:value-of select="j2ee:rtexprvalue"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:type!=''">
+ <code><xsl:value-of select="j2ee:type"/></code>
+ </xsl:when>
+ <xsl:otherwise><code>java.lang.String</code></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="j2ee:variable">
+ <tr>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:name-given!=''">
+ <xsl:value-of select="j2ee:name-given"/>
+ </xsl:when>
+ <xsl:when test="j2ee:name-from-attribute!=''">
+ <i>From attribute '<xsl:value-of select="j2ee:name-from-attribute"/>'</i>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>Unknown</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:variable-class!=''">
+ <code><xsl:value-of select="j2ee:variable-class"/></code>
+ </xsl:when>
+ <xsl:otherwise><code>java.lang.String</code></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:declare!=''">
+ <xsl:value-of select="j2ee:declare"/>
+ </xsl:when>
+ <xsl:otherwise>true</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:scope!=''">
+ <xsl:value-of select="j2ee:scope"/>
+ </xsl:when>
+ <xsl:otherwise>NESTED</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise><i>No Description</i></xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: myfaces/trunk/build/tlddoc-xslt/tld-frame.html.xsl
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/tlddoc-xslt/tld-frame.html.xsl?rev=169137&view=auto
==============================================================================
--- myfaces/trunk/build/tlddoc-xslt/tld-frame.html.xsl (added)
+++ myfaces/trunk/build/tlddoc-xslt/tld-frame.html.xsl Sun May 8 08:47:03 2005
@@ -0,0 +1,194 @@
+<?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:j2ee="http://java.sun.com/xml/ns/j2ee"
+ 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="j2ee:tlds/j2ee:taglib">
+ <xsl:sort select="../j2ee:short-name"/>
+ <xsl:sort select="j2ee:name"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="j2ee:taglib">
+ <xsl:if test="j2ee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="j2ee:display-name!=''">
+ <xsl:value-of select="j2ee:display-name"/>
+ </xsl:when>
+ <xsl:when test="j2ee:short-name!=''">
+ <xsl:value-of select="j2ee: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="j2ee:description!=''">
+ (<xsl:value-of select="j2ee: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(j2ee:tag)+count(j2ee:tag-file))>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Tags
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="j2ee:tag|j2ee:tag-file">
+ <xsl:sort select="../j2ee:short-name"/>
+ <xsl:sort select="j2ee:name"/>
+ </xsl:apply-templates>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(j2ee:function)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Functions
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="j2ee:function"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(j2ee:validator)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Validator
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="j2ee:validator"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(j2ee:listener)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Listeners
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="j2ee:listener"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ <!-- <table ... -->
+ </body>
+ </html>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="j2ee:tag|j2ee:tag-file">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="j2ee:name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../j2ee:short-name"/>:<xsl:value-of select="j2ee:name"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="j2ee:function">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="j2ee:name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../j2ee:short-name"/>:<xsl:value-of select="j2ee:name"/>()</i>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="j2ee:validator">
+ <br/>
+ <xsl:value-of select="j2ee:validator-class"/>
+ </xsl:template>
+
+ <xsl:template match="j2ee:listener">
+ <br/>
+ <xsl:value-of select="j2ee:listener-class"/>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: myfaces/trunk/build/tlddoc-xslt/tld-summary.html.xsl
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/tlddoc-xslt/tld-summary.html.xsl?rev=169137&view=auto
==============================================================================
--- myfaces/trunk/build/tlddoc-xslt/tld-summary.html.xsl (added)
+++ myfaces/trunk/build/tlddoc-xslt/tld-summary.html.xsl Sun May 8 08:47:03 2005
@@ -0,0 +1,451 @@
+<?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:j2ee="http://java.sun.com/xml/ns/j2ee"
+ 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="j2ee:tlds/j2ee:taglib">
+ <xsl:sort select="../j2ee:short-name"/>
+ <xsl:sort select="j2ee:name"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="j2ee:taglib">
+ <xsl:if test="j2ee:short-name=$tlddoc-shortName">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="j2ee:display-name!=''">
+ <xsl:value-of select="j2ee:display-name"/>
+ </xsl:when>
+ <xsl:when test="j2ee:short-name!=''">
+ <xsl:value-of select="j2ee: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="/j2ee:tlds/j2ee:config/j2ee: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="(j2ee:uri!='') and (j2ee:short-name!='')">
+ <b>Standard Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(j2ee:uri,"/WEB-INF/tags")'>
+ <%@ taglib prefix="<xsl:value-of select="j2ee:short-name"/>" tagdir="<xsl:value-of select="j2ee:uri"/>" %><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <%@ taglib prefix="<xsl:value-of select="j2ee:short-name"/>" uri="<xsl:value-of select="j2ee:uri"/>" %><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <br/>
+ <b>XML Syntax:</b><br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(j2ee:uri,"/WEB-INF/tags")'>
+ <anyxmlelement xmlns:<xsl:value-of select="j2ee:short-name"/>="urn:jsptagdir:<xsl:value-of select="j2ee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:when test='starts-with(j2ee:uri,"/")'>
+ <anyxmlelement xmlns:<xsl:value-of select="j2ee:short-name"/>="urn:jsptld:<xsl:value-of select="j2ee:uri"/>" /><br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <anyxmlelement xmlns:<xsl:value-of select="j2ee:short-name"/>="<xsl:value-of select="j2ee:uri"/>" /><br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <hr/>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <pre>
+ <xsl:value-of select="j2ee: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="j2ee:display-name!=''">
+ <td><xsl:value-of select="j2ee: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="j2ee:tlib-version!=''">
+ <td><xsl:value-of select="j2ee: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="j2ee:short-name!=''">
+ <td><xsl:value-of select="j2ee: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="j2ee:uri!=''">
+ <td><xsl:value-of select="j2ee: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(j2ee:tag)+count(j2ee: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="j2ee:tag|j2ee:tag-file">
+ <xsl:sort select="../j2ee:short-name"/>
+ <xsl:sort select="j2ee:name"/>
+ </xsl:apply-templates>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- functions -->
+ <xsl:if test="count(j2ee: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="j2ee:function"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- validators -->
+ <xsl:if test="count(j2ee: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="j2ee:validator"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- listeners -->
+ <xsl:if test="count(j2ee: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="j2ee: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="j2ee:tag|j2ee:tag-file">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="j2ee:name"/>.html</xsl:attribute>
+ <xsl:value-of select="j2ee:name"/>
+ </xsl:element>
+ </b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="j2ee:function">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%" nowrap="" align="right">
+ <code><xsl:value-of select='substring-before(normalize-space(j2ee:function-signature)," ")'/></code>
+ </td>
+ <td width="15%" nowrap="">
+ <code><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="j2ee:name"/>.fn.html</xsl:attribute>
+ <xsl:value-of select="j2ee:name"/>
+ </xsl:element>
+ </b>( <xsl:value-of select='substring-after(normalize-space(j2ee:function-signature),"(")'/>
+ </code>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="j2ee:validator">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b><xsl:value-of select="j2ee:validator-class"/></b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:description!=''">
+ <xsl:value-of select="j2ee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="count(j2ee: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="j2ee:init-param"/>
+ </table>
+ </blockquote>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="j2ee:init-param">
+ <tr valign="top">
+ <td><xsl:value-of select="j2ee:param-name"/></td>
+ <td><xsl:value-of select="j2ee:param-value"/></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="j2ee:param-description!=''">
+ <xsl:value-of select="j2ee:param-description"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="j2ee:listener">
+ <tr valign="top" bgcolor="white" class="TableRowColor">
+ <td>
+ <b><xsl:value-of select="j2ee:listener-class"/></b>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>