[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Well-formed


Subject: RE: Well-formed
From: Thorbjørn Ravn Andersen <TRA@xxxxxxxx>
Date: Tue, 4 Jul 2000 11:11:48 +0200

> 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



Current Thread
  • Well-formed
    • Paul_Martin - Tue, 4 Jul 2000 17:37:00 +1000
      • <Possible follow-ups>
      • Thorbjørn Ravn Andersen - Tue, 4 Jul 2000 11:11:48 +0200 <=
Keywords