You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Roland Huss <Ro...@consol.de> on 2001/06/06 20:35:42 UTC

PATCH: struts.xsl, again ....

Hi,

just noticed, that the <project> tag is copied verbatim to the HTML
output when generating the HTML-documentation. This doesn't harm much,
since browsers learned (and has to) ignore non-HTML tags. However,
inserting 

  <!-- Proccess a project -->
  <xsl:template match="project">
    <xsl:apply-templates/>
  </xsl:template>

in struts.xsl would filter this out, too.

cu....
-- 
							...roland huss
						             consol.de


Re: PATCH: struts.xsl, again ....

Posted by Roland Huss <Ro...@consol.de>.
well, another typo in struts.xsl:

  <!-- Process a menu for the navigation bar -->
  <xsl:template match="menu">
    <table border="0" cellspacing="5">
      <tr>
        <th colspan="2" align="left">
          <font color="{body-link}"><strong>
            <xsl:value-of select="@name"/>
          </strong></font>
        </th>
      </tr>
      <xsl:apply-templates/>
    </table>
  </xsl:template>

---> "{body-link}" should be "{$body-link}" .....

cu...
-- 
							...roland huss
						             consol.de


-- 
							...roland huss
						             consol.de