forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vronk Duat (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-704) span-template in html2document.xsl doubles span-content
Date Thu, 21 Dec 2006 19:00:21 GMT
    [ http://issues.apache.org/jira/browse/FOR-704?page=comments#action_12460315 ] 
            
Vronk Duat commented on FOR-704:
--------------------------------

as can be seen it is the template for span-element.
it could be the same problem, if there is such a big span over all of the pages content.
it can however also be, that a similar error is some other template.
try to find out which HTML-element gets doubled.



> span-template in html2document.xsl doubles span-content
> -------------------------------------------------------
>
>                 Key: FOR-704
>                 URL: http://issues.apache.org/jira/browse/FOR-704
>             Project: Forrest
>          Issue Type: Bug
>          Components: Skins (general issues)
>    Affects Versions: 0.7
>            Reporter: Vronk Daut
>            Priority: Minor
>
> template for span-element traverses to children elements via xsl:apply-templates TWICE!
> once in xsl:choose, than outside
> thus producing doubling the content of span.
> ::
>     <xsl:template match="span">
> 		  <xsl:choose>
> <!-- ... -->
> 	  	    <xsl:otherwise>
> 	  	        <!-- Strip -->
> 	            <xsl:apply-templates/>
> 		    </xsl:otherwise>
> 	    </xsl:choose>
>     
>            <xsl:apply-templates select="./*"/> 
>     </xsl:template>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message