At 15:35 8-4-2002, Tod Harter shared with all of us: >Doesn't actually matter. There is no "official" xhtml output method either. >XSLT 1.1 draft as of the latest one I read didn't include it. The reasoning >being that if you properly design your stylesheet then the html method will >work fine and should output legal xhtml.
Love to see the reasoning behind that reasoning. That'll be the day, that <br> and <img src=/what/ever.gif> is legal xhtml - if that's true, why would need xhtml in the first place? Any xslt processor I've seen, creates that kind of html, with the html output method, which is never valid xhtml. By the way: http://www.w3.org/TR/xslt20/#xhtml-output And the note in the 'Status of this document' section. >On Saturday 06 April 2002 12:43, Melvyn Sopacua wrote: > > At 18:52 6-4-2002, Tod Harter shared with all of us: > > >Or, to be much simpler > > ><xsl:output method="html"> > > > > Please read the original question first. > > > > Chris wants to output xhtml, not html. > > > > >which should be all you need. The reason exploder is showing you XML is > > > that AxKit is sending you "text/html" content type, which is perfectly > > > correct if the output method is xml. The fact is, netscape/mozilla is > > > just plain broken in this regard. It seems to try to display EVERYTHING > > > it doesn't know about as html. Seems for all their years of work on > > > Mozilla it is still completely retarded as regards to XML :(. > > > > Not true. > > It's actually Mozilla who got me to solve this problem, as it correctly > > interpreted the xhtml as XML, because the content-type was set to XML by > > AxKit. > > > > But you need to tell Mozilla how to display the XML and it doesn't support > > XSL sheets (yet). So - if you provide a text/css stylesheet in the output, > > Mozilla will corectly display all the elements. > > > > So what happens without a stylesheet, is that it interpretes the tags as > > undefined elements and just dumps the text - you might think it's retarded, > > but it's correct. > > > > >You should also be able to display XML directly if you provide a CSS > > >stylesheet that describes how the document is rendered. Mozilla has none > > > of this functionality so far, though when I perused the release notes for > > > 0.9.9 it sounds like they are starting to work on it finally. > > > > Again - not true. > > 0.9.8 already had this and if I remember correctly also Netscape 6.2 which > > has the 0.9.4 engine. > > > > >On Saturday 06 April 2002 10:53, Melvyn Sopacua wrote: > > > > Christopher H. Laco said at 08:45 6-4-2002: > > > > >Update: > > > > >I get the impression that method="xhtml" is non-standard, but this is > > > > > the only to get my xhtml output to be served with a Content-Type: > > > > > text/html header. Using LibXSLT instead of sablot along with the > > > > > trie and true method="xml" gives IE fits because that combo sends > > > > > Content-Type: text/xml > > > > > > > > <xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD > > > > XHTML 1.0 Strict//EN" > > > > doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > > > > omit-xml-declaration="yes" standalone="yes" media-type="text/html; > > > > charset=UTF-8" indent="no" /> > > > > > > > > media-type is key there. > > > > > > > > > > > > > > > > Best regards, > > > > > > > > Melvyn Sopacua > > > > WebMaster IDG.nl > > > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > > > If it applies, where it applies - this email is a personal > > > > contribution and does not reflect the views of my employer > > > > IDG.nl. > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\ > > > > Best regards, > > > > Melvyn Sopacua > > WebMaster IDG.nl > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > If it applies, where it applies - this email is a personal > > contribution and does not reflect the views of my employer > > IDG.nl. > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] Best regards, Melvyn Sopacua WebMaster IDG.nl _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ If it applies, where it applies - this email is a personal contribution and does not reflect the views of my employer IDG.nl. \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
