You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/03/15 22:36:28 UTC
svn commit: r386170 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft
Author: thorsten
Date: Wed Mar 15 13:36:26 2006
New Revision: 386170
URL: http://svn.apache.org/viewcvs?rev=386170&view=rev
Log:
Allowing all known elements in the genericMarkup contract.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft?rev=386170&r1=386169&r2=386170&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft Wed Mar 15 13:36:26 2006
@@ -35,9 +35,17 @@
<xsl:template match="/">
<forrest:content>
<forrest:part>
- <xsl:copy-of select="$genericMarkup/*"/>
+ <xsl:apply-templates
+ select="$genericMarkup/*|$genericMarkup/comment()| $genericMarkup/processing-instruction() | $genericMarkup/text()"/>
</forrest:part>
</forrest:content>
+ </xsl:template>
+ <xsl:template
+ match="@* | * | comment() | processing-instruction() | text()">
+ <xsl:copy>
+ <xsl:apply-templates
+ select="@* | * | comment() | processing-instruction() | text()"/>
+ </xsl:copy>
</xsl:template>
</xsl:stylesheet>
</forrest:template>