Author: thorsten
Date: Wed Oct 19 06:42:47 2005
New Revision: 326558
URL: http://svn.apache.org/viewcvs?rev=326558&view=rev
Log:
Fixed xpath to exclude element
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft
URL:
http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft?rev=326558&r1=326557&r2=326558&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft
Wed Oct 19 06:42:47 2005
@@ -35,13 +35,13 @@
<xsl:template name="content-title-head" >
<xsl:param name="content-title"/>
<xsl:comment>+ |start content-title +</xsl:comment>
- <xsl:copy-of select="$content-title"/>
+ <xsl:copy-of select="$content-title/*"/>
<xsl:comment>+ |end content-title +</xsl:comment>
</xsl:template>
<xsl:template name="content-title-body" >
<xsl:param name="content-title"/>
<xsl:comment>+ |start content-title +</xsl:comment>
- <h1><xsl:value-of select="$content-title"/></h1>
+ <h1><xsl:value-of select="$content-title/*"/></h1>
<xsl:comment>+ |end content-title +</xsl:comment>
</xsl:template>
</xsl:stylesheet>