cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject [PATCH] document2html.xsl
Date Wed, 30 Aug 2000 00:48:05 GMT
The current version of document2html.xsl doesn't properly translate the
elements inside a <dd> element as it should. The following patch fixes this
problem by properly processing embedded elements in the <dd> element.

Regards,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://www.geocities.com/SiliconValley/Monitor/7464/


--- document2html.xsl   2000/08/11 17:59:42     1.1.1.1
+++ document2html.xsl   2000/08/30 00:15:02
@@ -374,14 +374,10 @@
   <li>
    <strong><xsl:value-of select="."/></strong>
    <xsl:text> - </xsl:text>
-   <xsl:value-of select="following::dd"/>   
+   <xsl:apply-templates select="dd"/>   
   </li>
  </xsl:template>
  
- <xsl:template match="dd">
-  <!-- ignore since already used -->
- </xsl:template>
-
 <!-- ====================================================================== -->
 <!-- table section -->
 <!-- ====================================================================== -->



Mime
View raw message