[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Well-formed

Subject: Well-formed
From: Paul_Martin@xxxxxxxxxxxxxx
Date: Tue, 4 Jul 2000 17:37:00 +1000
table well formed
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.