[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xml-stylesheet in browser results / mime type ass

Subject: RE: xml-stylesheet in browser results / mime type association
From: "Rushforth, Peter" <Peter.Rushforth@xxxxxxxxxxxxxxxxx>
Date: Sat, 16 May 2009 20:29:16 -0400
RE:  xml-stylesheet in browser results / mime type  ass
> > I tried that too but it didn't have any effect.  I think
> browsers may
> > be hardwired to believe the result is html in such a situation, and
> > they try to interpret it as such.
> >
> did you try
>   <xsl:output  method="xml" media-type="vnd.google-earth.kml+xml" />
> I would be mildly surprised if all browsers ignored that form.

Yes, I also tried media-type="application/vnd.google-earth.kml+xml", but
it looks
like the browser ignores the media type of the result of the
transformation,and attempts to
display the result as html, although when I take a file of the output
name it .html, and request it over http, the browser does a slightly
job of interpreting the html, actually recognising html elements,
whereas the
html elements in the stylesheet output are dynamically ignored (that
could just
be a new technical term!) and their content presented as unformatted

In short, maybe it's not possible to get the browser to respond
appropriately to
the results of a transformation it enables, or maybe it's inappropriate
to ask
a browser to behave in that way (ie possibly a security concern).



Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.