[richfaces-svn-commits] JBoss Rich Faces SVN: r2546 - in trunk/samples/richfaces-demo/src/main/xslt/tlddoc: resources and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Aug 28 12:39:53 EDT 2007


Author: alexsmirnov
Date: 2007-08-28 12:39:52 -0400 (Tue, 28 Aug 2007)
New Revision: 2546

Added:
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl
Removed:
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl
   trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl
Log:
Use java exec plugin for generate demo application tlddoc files instead of plugin

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-frame.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/alltags-noframe.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/function.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>&#160;</td>
+                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &#160;<font CLASS="NavBarFont1Rev">&#160;Tag&#160;</font>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                <!--&#160;PREV TAGLIB&#160;-->
+                <!--&#160;NEXT TAGLIB&#160;-->
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<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>&#160;
+                <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>&#160;<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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>&#160;</td>
+                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &#160;<font CLASS="NavBarFont1Rev">&#160;Tag&#160;</font>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                <!--&#160;PREV TAGLIB&#160;-->
+                <!--&#160;NEXT TAGLIB&#160;-->
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<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>&#160;
+                <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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/help-doc.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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"> &#160;<a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev"><b>Help</b></font>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;PREV&#160;
+                &#160;NEXT&#160;
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
+                <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"> &#160;<a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev"><b>Help</b></font>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;PREV&#160;
+                &#160;NEXT&#160;
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
+                <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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/index.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-frame.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/overview-summary.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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>&#160;Overview&#160;</b></font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                <!--&#160;PREV&#160;-->
+                <!--&#160;NEXT&#160;-->
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
+                <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>&#160;Overview&#160;</b></font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                <!--&#160;PREV&#160;-->
+                <!--&#160;NEXT&#160;-->
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
+                <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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-frame.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,103 +0,0 @@
-<?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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/alltags-noframe.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,103 +0,0 @@
-<?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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/function.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,276 +0,0 @@
-<?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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>&#160;</td>
-                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &#160;<font CLASS="NavBarFont1Rev">&#160;Tag&#160;</font>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                <!--&#160;PREV TAGLIB&#160;-->
-                <!--&#160;NEXT TAGLIB&#160;-->
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<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>&#160;
-                <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>&#160;<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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>&#160;</td>
-                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &#160;<font CLASS="NavBarFont1Rev">&#160;Tag&#160;</font>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                <!--&#160;PREV TAGLIB&#160;-->
-                <!--&#160;NEXT TAGLIB&#160;-->
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<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>&#160;
-                <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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/help-doc.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,235 +0,0 @@
-<?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"> &#160;<a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev"><b>Help</b></font>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;PREV&#160;
-                &#160;NEXT&#160;
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
-                <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"> &#160;<a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev"><b>Help</b></font>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;PREV&#160;
-                &#160;NEXT&#160;
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
-                <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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/index.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,75 +0,0 @@
-<?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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-frame.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,114 +0,0 @@
-<?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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/overview-summary.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,208 +0,0 @@
-<?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>&#160;Overview&#160;</b></font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                <!--&#160;PREV&#160;-->
-                <!--&#160;NEXT&#160;-->
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
-                <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>&#160;Overview&#160;</b></font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Library&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                <!--&#160;PREV&#160;-->
-                <!--&#160;NEXT&#160;-->
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
-                <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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,60 +0,0 @@
-/* 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;}
-

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,317 +0,0 @@
-<?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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,188 +0,0 @@
-<?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>&#160;
-                    <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>&#160;
-                    <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>&#160;
-                    <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>&#160;
-                    <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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,445 +0,0 @@
-<?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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
-                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev">&#160;Library&#160;</font>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                <!--&#160;PREV TAGLIB&#160;-->
-                <!--&#160;NEXT TAGLIB&#160;-->
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
-                <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>
-                &#160;&#160;&#160;&#160;
-                <xsl:choose>
-                  <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
-                    &lt;%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" tagdir="<xsl:value-of select="javaee:uri"/>" %&gt;<br/>
-                  </xsl:when>
-                  <xsl:otherwise>
-                    &lt;%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" uri="<xsl:value-of select="javaee:uri"/>" %&gt;<br/>
-                  </xsl:otherwise>
-                </xsl:choose>
-              </code>
-              <br/>
-              <b>XML Syntax:</b><br/>
-              <code>
-                &#160;&#160;&#160;&#160;
-                <xsl:choose>
-                  <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
-                    &lt;anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptagdir:<xsl:value-of select="javaee:uri"/>" /&gt;<br/>
-                  </xsl:when>
-                  <xsl:when test='starts-with(javaee:uri,"/")'>
-                    &lt;anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptld:<xsl:value-of select="javaee:uri"/>" /&gt;<br/>
-                  </xsl:when>
-                  <xsl:otherwise>
-                    &lt;anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="<xsl:value-of select="javaee:uri"/>" /&gt;<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>
-            &#160;
-            <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>
-              &#160;
-              <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>
-              &#160;
-              <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>
-              &#160;
-              <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>
-              &#160;
-              <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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
-                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev">&#160;Library&#160;</font>&#160;</td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
-                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
-                  </tr>
-                </table>
-              </td>
-              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
-                </em>
-              </td>
-            </tr>
-            <tr>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                <!--&#160;PREV TAGLIB&#160;-->
-                <!--&#160;NEXT TAGLIB&#160;-->
-              </font></td>
-              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
-                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
-                &#160;<a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
-                <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> 

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,153 +0,0 @@
-<?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>

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,290 +0,0 @@
-<?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>

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,70 +0,0 @@
-<?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>

Deleted: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl	2007-08-28 16:37:06 UTC (rev 2545)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -1,79 +0,0 @@
-<?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>

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/stylesheet.css)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/stylesheet.css	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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;}
+

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tag.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tag.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-frame.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-frame.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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>&#160;
+                    <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>&#160;
+                    <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>&#160;
+                    <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>&#160;
+                    <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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld-summary.html.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld-summary.html.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
+                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev">&#160;Library&#160;</font>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                <!--&#160;PREV TAGLIB&#160;-->
+                <!--&#160;NEXT TAGLIB&#160;-->
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
+                <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>
+                &#160;&#160;&#160;&#160;
+                <xsl:choose>
+                  <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+                    &lt;%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" tagdir="<xsl:value-of select="javaee:uri"/>" %&gt;<br/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    &lt;%@ taglib prefix="<xsl:value-of select="javaee:short-name"/>" uri="<xsl:value-of select="javaee:uri"/>" %&gt;<br/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </code>
+              <br/>
+              <b>XML Syntax:</b><br/>
+              <code>
+                &#160;&#160;&#160;&#160;
+                <xsl:choose>
+                  <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+                    &lt;anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptagdir:<xsl:value-of select="javaee:uri"/>" /&gt;<br/>
+                  </xsl:when>
+                  <xsl:when test='starts-with(javaee:uri,"/")'>
+                    &lt;anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="urn:jsptld:<xsl:value-of select="javaee:uri"/>" /&gt;<br/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    &lt;anyxmlelement xmlns:<xsl:value-of select="javaee:short-name"/>="<xsl:value-of select="javaee:uri"/>" /&gt;<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>
+            &#160;
+            <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>
+              &#160;
+              <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>
+              &#160;
+              <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>
+              &#160;
+              <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>
+              &#160;
+              <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">    &#160;<a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>&#160;</td>
+                    <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">    &#160;<font CLASS="NavBarFont1Rev">&#160;Library&#160;</font>&#160;</td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <font CLASS="NavBarFont1">&#160;Tag&#160;</font></td>
+                    <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &#160;<a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>&#160;</td>
+                  </tr>
+                </table>
+              </td>
+              <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+                </em>
+              </td>
+            </tr>
+            <tr>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                <!--&#160;PREV TAGLIB&#160;-->
+                <!--&#160;NEXT TAGLIB&#160;-->
+              </font></td>
+              <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+                &#160;<a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>&#160;
+                &#160;<a HREF="tld-summary.html" TARGET="_top"><b>NO FRAMES</b></a>&#160;
+                <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> 

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_1-tld1_2.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_1-tld1_2.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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>

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld1_2-tld2_0.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld1_2-tld2_0.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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>

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_0-tld2_1.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_0-tld2_1.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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>

Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl (from rev 2545, trunk/samples/richfaces-demo/src/main/xslt/tlddoc/resources/tld2_1-tld2_1.xsl)
===================================================================
--- trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/xslt/tlddoc/tld2_1-tld2_1.xsl	2007-08-28 16:39:52 UTC (rev 2546)
@@ -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>




More information about the richfaces-svn-commits mailing list