[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kupu-checkins
Subject:    [kupu-checkins] r6112 - kupu/trunk/kupu
From:       philikon () codespeak ! net
Date:       2004-08-22 12:53:50
Message-ID: 20040822125350.96AE65B09C () thoth ! codespeak ! net
[Download RAW message or body]

Author: philikon
Date: Sun Aug 22 14:53:50 2004
New Revision: 6112

Modified:
   kupu/trunk/kupu/make.xsl
Log:
New directive in the kupu templating system:

  <kupu:disable-part part="..." feature="..." />

Testing and documentation will be done by Rolf Kulemann as this
feature was his request.


Modified: kupu/trunk/kupu/make.xsl
==============================================================================
--- kupu/trunk/kupu/make.xsl	(original)
+++ kupu/trunk/kupu/make.xsl	Sun Aug 22 14:53:50 2004
@@ -165,6 +165,14 @@
           </xsl:comment>
         </xsl:if>
       </xsl:when>
+      <xsl:when test="//kupu:disable-part[@feature=$feature and @part=$part]">
+        <xsl:if test="$debug">
+          <xsl:comment>
+            Part '<xsl:value-of select="$part" />' in feature
+            '<xsl:value-of select="$feature" />' was disabled.
+          </xsl:comment>
+        </xsl:if>
+      </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="insert-part">
           <xsl:with-param

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic