maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/plugins-build/xdoc site.jsl
Date Wed, 11 Dec 2002 18:17:21 GMT
jstrachan    2002/12/11 10:17:21

  Modified:    src/plugins-build/xdoc site.jsl
  Log:
  Patch to fix some table reports not working correctly
  
  Revision  Changes    Path
  1.7       +4 -5      jakarta-turbine-maven/src/plugins-build/xdoc/site.jsl
  
  Index: site.jsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/site.jsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- site.jsl	11 Dec 2002 16:45:59 -0000	1.6
  +++ site.jsl	11 Dec 2002 18:17:21 -0000	1.7
  @@ -303,7 +303,6 @@
         <!-- process a documentation section -->
         <jsl:template match="section">
           <div class="h3">
  -        <!-- FIXME: x:if select="@name" doesn't work here -->
           <j:set var="_sectionName"><x:expr select="@name"/></j:set>
           <j:if test="${!empty(_sectionName)}">
             <h3><a name="${_sectionName}">${_sectionName}</a></h3>
  @@ -314,10 +313,10 @@
   
         <jsl:template match="subsection">
           <div class="h4">
  -        <x:if select="@name">
  -          <j:set var="_sectionName" trim="false"><x:expr select="@name"/></j:set>
  -          <h4><a name="${_sectionName}">${_sectionName}</a></h4>
  -        </x:if>
  +				<j:set var="_sectionName" trim="false"><x:expr select="@name"/></j:set>
  +        <j:if test="${!empty(_sectionName)}">
  +					<h4><a name="${_sectionName}">${_sectionName}</a></h4>
  +        </j:if>
           <jsl:applyTemplates select="*"/>
           </div>
         </jsl:template>
  
  
  

Mime
View raw message