Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Empty element match >Thread Next - Re: Empty element match Re: Empty element matchTo: NULL Date: 7/1/2005 1:38:00 PM David Carlisle wrote: >>Ok i will try to set the response mime type to text/xml, > > ok (or application/xml is probably better) > >>is text/xhtml also possible? > > no, the declared type for xhtml is text/xhtml+xml but IE doesn't know > about that. > > You will need to use <?xml-stylesheet to specify a stylesheet (which can > simply be <xsl:copy-of select="."/> > > But if you need to send to IE, why not send HTML, which it understands, > rather than XHTML, which it doesn't? > I'm sending it as html now, with output method set to html, but then my document is not valid anymore, elements like <meta and <br are not closed now, does html transitional force you to close them?? Another strange thing, I run 2 separate xsl-processors (my hosting provider runs another version of libxslt) My processor understands <xsl:output method="html" and converts <br></br> to <br> But the processor at the hostingprovider does not understand it. It makes me crazy I thought xsl was a standard, but each processor handles that standard differently | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
