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

Re: [xsl] Image Tage Bug


Subject: Re: [xsl] Image Tage Bug
From: António Mota <amsmota@xxxxxxxxx>
Date: Sat, 5 Nov 2005 21:58:36 +0000

It is not correct to say that, since XHTML is some kind of a "special"
 XML file with some limited number of tags defined, if one uses only
those specific tags and specifies XML output, so the ouput will be
XHTML?

I wonder if my question make sense, i hope so...

On 11/5/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > I believe with xslt 2.0 you can specify an output method of
> > xhtml
>
> yes
>
> > - but with
> > xslt 1.0  I am not sure if there is any commonly accepted way
> > to do this
>
> There's no standard way to do it in XSLT 1.0. Some processors offer
suitable
> extensions.
>
> On the other hand, I wonder whether there is really a need to do it? If the
> receiving application is a browser, you might as well generate HTML. If the
> receiving application requires XML, then generate XML: the special
> serialization tweaks used in XHTML are needed only for browsers designed to
> handle HTML.
>
> Michael Kay
> http://www.saxonica.com/


Current Thread
Keywords