forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r326558 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft
Date Wed, 19 Oct 2005 13:42:52 GMT
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>



Mime
View raw message