xsl-list
[Top] [All Lists]

Re: Image Tage Bug

2005-11-05 14:58:36
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(_at_)saxonica(_dot_)com> 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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>