Author: fhanik
Date: Tue Feb 26 10:21:27 2008
New Revision: 631321

URL: http://svn.apache.org/viewvc?rev=631321&view=rev
Log:
update to support <rev> attribute

Modified:
    tomcat/trunk/webapps/docs/changelog.xml
    tomcat/trunk/webapps/docs/tomcat-docs.xsl

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=631321&r1=631320&r2=631321&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Feb 26 10:21:27 2008
@@ -32,11 +32,16 @@
   </properties>
 
 <body>
-<section name="Tomcat 6.0.17 (remm)">
+<section name="Tomcat Trunk ">
   <subsection name="Catalina">
      <changelog>
       <fix>ExtendedAccessLogValve cs-uri not print empty querystring (pero)
       </fix>
+     </changelog>
+  </subsection>
+  <subsection name="Documentation">
+     <changelog>
+      <update>Update changelog to support the &lt;rev&gt; element 
(fhanik)</update>
      </changelog>
   </subsection>
 </section>

Modified: tomcat/trunk/webapps/docs/tomcat-docs.xsl
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/tomcat-docs.xsl?rev=631321&r1=631320&r2=631321&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Tue Feb 26 10:21:27 2008
@@ -40,6 +40,7 @@
   <xsl:param    name="project-menu"     select="'menu'"/>
   <xsl:param    name="standalone"       select="''"/>
   <xsl:param    name="buglink"          
select="'http://issues.apache.org/bugzilla/show_bug.cgi?id='"/>
+  <xsl:param    name="revlink"          
select="'http://svn.apache.org/viewvc?view=rev&amp;rev='"/>
 
   <!-- Defined variables (non-overrideable) -->
   <xsl:variable name="body-bg"          select="'#ffffff'"/>
@@ -435,6 +436,12 @@
   <!-- Link to a bug report -->
   <xsl:template match="bug">
       <xsl:variable name="link"><xsl:value-of select="$buglink"/><xsl:value-of 
select="text()"/></xsl:variable>
+      <a href="{$link}"><xsl:apply-templates/></a>
+  </xsl:template>
+  
+  <!-- Link to a SVN revision report -->
+  <xsl:template match="rev">
+      <xsl:variable name="link"><xsl:value-of select="$revlink"/><xsl:value-of 
select="text()"/></xsl:variable>
       <a href="{$link}"><xsl:apply-templates/></a>
   </xsl:template>
 



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

Reply via email to