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

List:       forrest-svn
Subject:    svn commit: r329433 -
From:       thorsten () apache ! org
Date:       2005-10-29 16:24:34
Message-ID: 20051029162434.82618.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: thorsten
Date: Sat Oct 29 09:24:28 2005
New Revision: 329433

URL: http://svn.apache.org/viewcvs?rev=329433&view=rev
Log:
enhanced forrest:hook matching. FIXME: we need to rewrite this to be more format \
independent. there was a mail about.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/hooksMatcher.xsl


Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/hooksMatcher.xsl
                
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest \
.plugin.internal.structurer/resources/stylesheets/hooksMatcher.xsl?rev=329433&r1=329432&r2=329433&view=diff
 ==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/hooksMatcher.xsl \
                (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/resources/stylesheets/hooksMatcher.xsl \
Sat Oct 29 09:24:28 2005 @@ -20,7 +20,7 @@
   xmlns:forrest="http://apache.org/forrest/templates/1.0" 
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <!--This template will match the different combinations for forrest:hooks-->
-  <xsl:template match="forrest:hook[@name and (@type='div' or not(@type))]">
+  <xsl:template match="forrest:hook[@name and (@type='div' or not(@type) and \
not(@class))]">  <div id="{@name}">
       <xsl:apply-templates/>
       <xsl:if test="@nbsp='true'">&#160;</xsl:if>


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

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