vmassol     2003/01/13 03:43:37

  Modified:    documentation/docs/skins/jakarta.apache.org/stylesheets
                        document2html.xsl
  Log:
  Do not issue warning for <jump> elements with no href attributes
  
  Revision  Changes    Path
  1.15      +6 -4      
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- document2html.xsl 13 Jan 2003 11:37:12 -0000      1.14
  +++ document2html.xsl 13 Jan 2003 11:43:37 -0000      1.15
  @@ -670,9 +670,11 @@
     <xsl:template match="jump">
       <a>
         <xsl:attribute name="href">
  -        <xsl:call-template name="compute-link-href">
  -          <xsl:with-param name="href" select="@href"/>
  -        </xsl:call-template>
  +        <xsl:if test="@href">
  +          <xsl:call-template name="compute-link-href">
  +            <xsl:with-param name="href" select="@href"/>
  +          </xsl:call-template>
  +        </xsl:if>
           <xsl:text>#</xsl:text>
           <xsl:value-of select="@anchor"/>
         </xsl:attribute>
  
  
  

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

Reply via email to