You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by bd...@apache.org on 2011/01/31 01:24:20 UTC

svn commit: r1065442 - /forrest/trunk/main/webapp/resources/stylesheets/rssissues-to-document.xsl

Author: bdube
Date: Mon Jan 31 00:24:20 2011
New Revision: 1065442

URL: http://svn.apache.org/viewvc?rev=1065442&view=rev
Log:
Use html response to rss request as trigger for JIRA maintenance note

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/rssissues-to-document.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/rssissues-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/rssissues-to-document.xsl?rev=1065442&r1=1065441&r2=1065442&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/rssissues-to-document.xsl (original)
+++ forrest/trunk/main/webapp/resources/stylesheets/rssissues-to-document.xsl Mon Jan 31 00:24:20 2011
@@ -16,6 +16,21 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <!-- Handle JIRA system maintenance note when provided in HTML format -->
+  <xsl:template match="html">
+    <document>
+      <header>
+        <title>Open issues for the next release</title>
+      </header>
+      <body>
+        <note>
+          <xsl:copy-of select="body/*" />
+        </note>
+      </body>
+    </document>
+  </xsl:template>
+
   <xsl:template match="rss">
     <document>
       <header>