Subject: Well-formed From: Paul_Martin@xxxxxxxxxxxxxx Date: Tue, 4 Jul 2000 17:37:00 +1000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
FW: XPERT0.1 is now available, Pawson, David | Thread | Re: Well-formed, David Carlisle |
FW: XPERT0.1 is now available, Pawson, David | Date | Abstract Interpretation of XSLT st, Hutchison, Nigel |
Month |