jfclere     2002/09/09 08:00:58

  Modified:    jk/xdocs menu.idx style.xsl.in
  Log:
  Add code to allow a dummy <document/> in menu.idx: To separte jk and jk2.
  
  Revision  Changes    Path
  1.8       +3 -0      jakarta-tomcat-connectors/jk/xdocs/menu.idx
  
  Index: menu.idx
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/menu.idx,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- menu.idx  9 Sep 2002 09:14:37 -0000       1.7
  +++ menu.idx  9 Sep 2002 15:00:57 -0000       1.8
  @@ -4,12 +4,15 @@
     <document href="index.xml"/>
     <document href="common/AJPv13.xml"/>
     <document href="common/AJPv14-proposal.xml"/>
  +  <document/>
     <document href="jk/aphowto.xml"/>
     <document href="jk/iishowto.xml"/>
     <document href="jk/neshowto.xml"/>
     <document href="jk/domhowto.xml"/>
     <document href="jk/workershowto.xml"/>
  +  <document/>
     <document href="jk2/configtc.xml"/>
     <document href="jk2/configweb.xml"/>
  +  <document/>
     <document href="faq.xml"/>
   </index>
  
  
  
  1.9       +4 -0      jakarta-tomcat-connectors/jk/xdocs/style.xsl.in
  
  Index: style.xsl.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/style.xsl.in,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- style.xsl.in      9 Sep 2002 09:15:15 -0000       1.8
  +++ style.xsl.in      9 Sep 2002 15:00:57 -0000       1.9
  @@ -151,6 +151,10 @@
                   -->
                   <xsl:variable name="root" select="/"/>
                   <xsl:for-each select="document('menu.idx')/index/document">
  +                  <xsl:variable name="href" select="@href"/>
  +                  <xsl:if test="string-length($href) = 0">
  +                    <tr height="6"/>
  +                  </xsl:if>
                     <tr>
                       <td bgcolor="#cccccc" width="150" colspan="2">
                         <nobr>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to