In the last exciting episode of Das Internet,Tod Harter spewed forth the
following FUD:
> Or, to be much simpler
> <xsl:output method="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 :(.
>
> Actually if you have a pretty new version of MSXML installed on your
> windows  box you can send XML with an xml-stylesheet PI to MSIE and if
> the href in the  PI is correct it will do client-side XSLT processing!
> Kind of cool, though it  seems that MS's dialect of XSLT isn't exactly
> compatible with everyone else's  from what I can tell. In theory you
> can use either VBSCRIPT or JSCRIPT to  play around with the DOM tree of
> your XML and apply other transforms to it  etc. 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.
>
> 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.
>> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Under libxslt at least my copy, method="html"  is horrible for xhtml.
It strips ending /'s, and fubar's the html namespace, unless of course I
missed something.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to