forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r386170 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/genericMarkup.ft
Date Wed, 15 Mar 2006 21:36:28 GMT
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>



Mime
View raw message