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:[EMAIL PROTECTED] and (@type='div' or
not(@type))]">
+ <xsl:template match="forrest:[EMAIL PROTECTED] and (@type='div' or
not(@type) and not(@class))]">
<div id="[EMAIL PROTECTED]">
<xsl:apply-templates/>
<xsl:if test="@nbsp='true'"> </xsl:if>