Peter Flynn wrote:
>> I'm experimenting with creating an XML job description, using an XSL
>> stylesheet to control the formatting. It looks fine in IE5 but the
>> stylesheet isn't being applied in Mozilla version .9.
>> It was my understanding that Mozilla had XML support. Does anyone use
>> Mozilla to view their XML documents? Is there some known issue as to why
>> IE5 and Mozilla display XML differently?
> IE5 is written by Microsoft. Mozilla is written by the Mozilla team.
> They are different browsers, so you cannot expect them to work the
> same way :-) Sorry, that's both the cynical version and the facts.
Well, XML and XSLT are W3C Recommendations so you should expect some
interoperability *if* the products claim to support them. Mozilla has
claimed XML support, but not XSLT support (but see below for details
It is a common misunderstanding that lack of XSLT support is interpreted
as lack of XML support.
> Last time I looked, Mozilla still used CSS, not XSL, to render its
> XML. I haven't had a chance to check out 0.9 yet to see if there is
> any XSL support but I didn't see it in the release notes.
Uh, are there any browsers that render with XSL (notice no 'T')? All the
XSL(T) implementations I have tried only transform the original document
Anyway, Mozilla got XSLT support this week (not turned on on Unix
currently because of some compiler issues). If you are feeling brave you
can download nightlies to test it out, or wait for mozilla 0.9.1 release
within the next month. There has also been an installation package that
adds XSLT support to an older Mozilla milestone, but that may have been
taken out now that it is included in the nightly builds.
Also, if you do not need to do transformations before displaying your
data, you could simply format your XML with CSS.