You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2005/05/17 19:17:55 UTC

[JIRA] Commented: (FOR-394) html2document.xsl misses content before first h1 element

The following comment has been added to this issue:

     Author: Juan Jose Pablos
    Created: Tue, 17 May 2005 12:16 PM
       Body:
the problem is is actually on these lines:

  <!--infer structure from sibling headings-->
    <xsl:template match="body">
       <body>
         <xsl:choose>
           <xsl:when test="h1">
             <xsl:call-template name="process_h1"/>
           </xsl:when>
           <xsl:otherwise>
             <section>
               <xsl:if test="a/@name">
                 <xsl:attribute name="id"><xsl:value-of select="a/@name"/></xsl:attribute>
               </xsl:if>
               <title/>
               <xsl:apply-templates/>
               <xsl:call-template name="process_h1"/>
             </section>
           </xsl:otherwise>
         </xsl:choose>
       </body>
    </xsl:template>

---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-394?page=comments#action_12397

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-394

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-394
    Summary: html2document.xsl misses content before first h1 element
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest
   Fix Fors:
             0.8
   Versions:
             0.7-dev

   Assignee: 
   Reporter: Ross Gardler

    Created: Thu, 25 Nov 2004 7:22 PM
    Updated: Tue, 17 May 2005 12:16 PM

Description:
The html2document.xsl stylesheet does not transform content that precedes the first H1 element.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira