|
next
|
Subject: Re: Really annoying stuff-up in XSLT processors Author: Minollo I. Date: 25 Feb 2003 08:13 PM
|
From the XSLT 1.0 specs, in the HTML Output Method section:
"...
The html output method should not output an end-tag for empty elements. For
HTML 4.0, the empty elements are area, base, basefont, br, col, frame, hr,
img, input, isindex, link, meta and param. For example, an element written
as {br/} or {br}{/br} in the stylesheet should be output as {br}.
..../
If there is a HEAD element, then the html output method should add a META
element immediately after the start-tag of the HEAD element specifying the
character encoding actually used. For example,
{HEAD}
{META http-equiv="Content-Type" content="text/html; charset=EUC-JP"}
....
"
So, you do have to choose the XML output method if you want to create XHTML.
In XSLT 2.0 you will be able to choose XHTML as the output method, and that
will make your life easier.
Minollo
|
|
|