br*********@bclip.com wrote:
I've been working on this website that uses this to display a catalog.
http://www.w3schools.com/xml/tryit.a...catalog_island
I just figured out that it is only working on IE for Windows.
Here are the browsers I've it not to work on:
Firefox for windows and mac
Safari for mac
IE for mac
Is there a way to display this XML that will work on all browsers?
I don't think IE/Mac has any XML support therefore if you are looking
for a solution to display the XML in all browsers then you have to use a
server side solution that transforms the XML to suitable HTML that is
then sent to the browsers.
A nice tool to transform XML (to HTML but also to other XML formats or
to text) is XSLT.
If you are looking for client-side solutions the client-side XSLT is
also an option, at least for Firefox, and for IE 6/Win (or for IE 5/5.5
Win where the MSXML version 3.0 is installed).
And with IE5 and later on Windows, with Firefox on all platforms, and
with Safari 1.2 and later you can use XMLHttpRequest and DOM scripting.
--
Martin Honnen
http://JavaScript.FAQTs.com/