You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/09/09 14:32:14 UTC
svn commit: r279754 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft
Author: rgardler
Date: Fri Sep 9 05:32:06 2005
New Revision: 279754
URL: http://svn.apache.org/viewcvs?rev=279754&view=rev
Log:
use correct XPath
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft?rev=279754&r1=279753&r2=279754&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft Fri Sep 9 05:32:06 2005
@@ -32,8 +32,8 @@
<xsl:comment>+
|start content-title
+</xsl:comment>
- <!-- FIXME: this doesn't work yet (namespace issue?)-->
- <xsl:copy-of select="xhtml2:div[@id='content']/xhtml2:h1[position()=1]"/>
+ <!-- FIXME: Is this the right element to use, in the old XDoc we used the first <h1> element -->
+ <xsl:copy-of select="xhtml2:body/xhtml2:h[position()=1]"/>
<xsl:comment>+
|end content-title
+</xsl:comment>