forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r106628 - /forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
Date Fri, 26 Nov 2004 01:28:37 GMT
Author: thorsten
Date: Thu Nov 25 17:28:35 2004
New Revision: 106628

URL: http://svn.apache.org/viewcvs?view=rev&rev=106628
Log:
modified xsl of filter
Modified:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl?view=diff&rev=106628&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl&r1=106627&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl&r2=106628
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
Thu Nov 25 17:28:35 2004
@@ -40,15 +40,18 @@
       <xsl:apply-templates />
     </filter>
   </xsl:template>
-  <xsl:template match="filter/forrest:hook">
+  <xsl:template match="forrest:hook">
     <div id="{@name}">
       <xsl:apply-templates />
     </div>
   </xsl:template>
-    <xsl:template match="filter/forrest:contract">
-    <xsl:variable name="css-ft" value="@name"/>
-    <div id="{@name}"><xsl:value-of select="$css-ft"/>
-      <xsl:apply-templates />
+    <xsl:template match="forrest:contract">
+    <xsl:variable name="css-ft"><xsl:value-of select="@name"/></xsl:variable>
+    <div id="{@name}">id=<xsl:value-of select="$css-ft"/>
+      <xsl:apply-templates select="contracts" />
     </div>
+  </xsl:template>
+  <xsl:template name="include" match="contracts">
+    <xsl:apply-templates select="content"/>
   </xsl:template>
 </xsl:stylesheet>

Mime
View raw message