This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Well-formed
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Well-formed
- From: Thorbjørn Ravn Andersen <TRA at stibo dot dk>
- Date: Tue, 4 Jul 2000 11:11:48 +0200
- 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>".
Yes.
The XSLT program must be a well-formed XML document, so all tags -- not only ones in the XSLT program -- must match.
Programming in XSLT requires a bit different thinking than the "usual approach" known from most traditional languages. You might want to look at the various examples in the FAQ to see how similar problems have been solved.
--
Thorbjørn
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list