You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2005/05/31 05:28:01 UTC

svn commit: r179185 - /cocoon/trunk/src/webapp/stylesheets/system/status2html.xslt

Author: vgritsenko
Date: Mon May 30 20:28:01 2005
New Revision: 179185

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

Modified:
    cocoon/trunk/src/webapp/stylesheets/system/status2html.xslt

Modified: cocoon/trunk/src/webapp/stylesheets/system/status2html.xslt
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/stylesheets/system/status2html.xslt?rev=179185&r1=179184&r2=179185&view=diff
==============================================================================
--- cocoon/trunk/src/webapp/stylesheets/system/status2html.xslt (original)
+++ cocoon/trunk/src/webapp/stylesheets/system/status2html.xslt Mon May 30 20:28:01 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>