Author: michiel
Date: 2009-05-28 21:57:39 +0200 (Thu, 28 May 2009)
New Revision: 35489

Modified:
   mmbase/trunk/applications/share/xslt/xml2xhtml-base.xslt
Log:
as long as docuemntation cannot be generated for tag-files, simply show link to 
source

Modified: mmbase/trunk/applications/share/xslt/xml2xhtml-base.xslt
===================================================================
--- mmbase/trunk/applications/share/xslt/xml2xhtml-base.xslt    2009-05-28 
19:46:36 UTC (rev 35488)
+++ mmbase/trunk/applications/share/xslt/xml2xhtml-base.xslt    2009-05-28 
19:57:39 UTC (rev 35489)
@@ -259,7 +259,18 @@
       <tr>
         <td colspan="2">
           <xsl:if test="name()='tag'"><b>&lt;mm:<xsl:value-of 
select="name"/>&gt;</b></xsl:if>
-          <xsl:if test="name()='tag-file'"><b>&lt;mm:<xsl:value-of 
select="name"/>&gt;</b></xsl:if>
+          <xsl:if test="name()='tag-file'">
+            <b>&lt;mm:<xsl:value-of select="name"/>&gt;</b>
+            <p>
+              <a>
+                <xsl:attribute name="href">
+                  
<xsl:text>http://scm.mmbase.org/view/*checkout*/mmbase/trunk/applications/taglib/</xsl:text>
+                  <xsl:value-of select="path" />
+                </xsl:attribute>
+                <xsl:text>This is a tagfile.</xsl:text>
+              </a>
+            </p>
+          </xsl:if>
           <xsl:if test="name()='taginterface'"><b><font 
color="{$extendscolor}">`<xsl:value-of select="name"/>' tags</font></b></xsl:if>
           <xsl:apply-templates select="info"/>
           <xsl:if test="since">

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to