|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






