cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r179184 - /cocoon/branches/BRANCH_2_1_X/src/webapp/stylesheets/system/status2html.xslt
Date Tue, 31 May 2005 03:26:47 GMT
Author: vgritsenko
Date: Mon May 30 20:26:46 2005
New Revision: 179184

URL: http://svn.apache.org/viewcvs?rev=179184&view=rev
Log:
processor agnostic stylesheet

Modified:
    cocoon/branches/BRANCH_2_1_X/src/webapp/stylesheets/system/status2html.xslt

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/stylesheets/system/status2html.xslt
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/stylesheets/system/status2html.xslt?rev=179184&r1=179183&r2=179184&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/stylesheets/system/status2html.xslt (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/stylesheets/system/status2html.xslt Mon May 30
20:26:46 2005
@@ -43,9 +43,32 @@
         <xsl:apply-templates/>
 
         <!--
+          - Add XSLT processor information
+          -->
+        <h2>XSLT Processor</h2>
+        <li>
+          <span class="description">XSLT Version:</span>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="system-property('xsl:version')"/>
+        </li>
+        <li>
+          <span class="description">Vendor:</span>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="system-property('xsl:vendor')"/>
+        </li>
+        <li>
+          <span class="description">Vendor URL:</span>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="system-property('xsl:vendor-url')"/>
+        </li>
+
+        <!--
           - Add Xalan / Xerces information using custom Xalan extension
+          - (if it's present)
           -->
-        <xsl:apply-templates select="xalan:checkEnvironment()"/>
+        <xsl:if test="function-available('xalan:checkEnvironment')">
+          <xsl:apply-templates select="xalan:checkEnvironment()"/>
+        </xsl:if>
       </body>
     </html>
   </xsl:template>



Mime
View raw message