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

Re: xsl:output method

Subject: Re: xsl:output method
From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Sat, 11 Dec 2004 17:23:53 +0100
gabriel k
Yes the transformation is done on the server using VB-script.

Isn't it weird that the transformation gives me HTML (for instance the meta tag is not closed, neither is link tag), but STILL the media-type is xml?
And it doesn't matter if I set the output to xml, it still generates html.
I'm really confused now. Please explain if you can :)


/Gabriel




----- Original Message ----- From: "Colin Paul Adams" <colin@xxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, December 11, 2004 5:19 PM
Subject: Re: xsl:output method



"Gabriel" == Gabriel K <gabriel.klappenbach@xxxxxxxxxxxx> writes:

Gabriel> Hey guys. In my XSL I have <xsl:output method="html" Gabriel> media-type="text/html" encoding="ISO-8859-1" Gabriel> indent="yes"/>

   Gabriel> But my browser still says it's type is "text/xml", and
   Gabriel> complains that the META tag is not closed. Why does it
   Gabriel> think it's an XML file when I output a page that looks
   Gabriel> like 100% HTML?  Does this have something to do with
   Gabriel> doctype? I don't know much about that I must confess.

Is this XSLT transformation taking place on the server? If so, then
the xsl:output won't affect which media-type the server is setting.
--
Colin Paul Adams
Preston Lancashire

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.