Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Well-formed

From: Paul_Martin@--------------
To:
Date: 7/5/2000 3:37:00 AM
Does output have to be well-formed as it appears in the xsl stylesheet, or just the way that it will appear in the resulting output document.

For example, I got the following error :-
XSLT: The element type "fo:table-body" must be terminated by the matching end-tag "</fo:table-body>".

for the following (which was part of a xsl stylesheet and was intended to create a new table for every 10 vehicles) :-


<xsl:for-each select="carDetails">

   <xsl:choose>
     <xsl:when test="position()=1 or position() mod 10 = 1">
     .......
     <fo:table overflow="scroll">
          <fo:table-column column-number="1" column-width="6pt"/>
                      etc.
     <fo:table-body font-size="10pt" >
    </xsl:when>
    <xsl:otherwise>
    </xsl:otherwise>   </xsl:choose>

     <fo:table-row .. OUTPUT DETAILS INTO THE TABLE
      etc
      etc

  <xsl:choose>
    <xsl:when test="position() mod 10 = 0 or position()=last()">
     </fo:table-body>
     </fo:table>
    </xsl:when>
    <xsl:otherwise>
    </xsl:otherwise>
  </xsl:choose>

</xsl:for-each>

Thanks in advance.
                    Regards
                       Paul
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent