This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Well-formed
- To: xsl-list at mulberrytech dot com
- Subject: Well-formed
- From: Paul_Martin at rta dot nsw dot gov dot au
- Date: Tue, 4 Jul 2000 17:37:00 +1000
- Receipt-Requested-To: Paul_Martin@rta.nsw.gov.au
- Reply-To: xsl-list at mulberrytech dot com
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