xsl-list
[Top] [All Lists]

Re: [xsl] Modern web site design with XML and XSLT

2010-01-05 19:12:31
"Eric J. Bowman" wrote:

A server sending text/xml is expressing an intent that the payload not
be processed and displayed to casual users.  A browser that processes
XML PIs anyway, is overriding server intent.  I cannot get any browser
to apply a CSS XML PI to content served as text/xml, with the XSLT PI
commented out.

This is wrong (I forgot that <base/> doesn't affect PIs when I tested),
browsers do indeed apply CSS to text/xml using CSS PIs.  This is one
thing, allowing scripts to execute when browser context should be
text/xml is another.

-Eric

--~------------------------------------------------------------------
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>