XML/XSLT rendering issue?
-
[XML/XSLTFilter] 10.4.8 and Safari let me search an XML database, but they can't seem to display the results properly (they're just a jumbled mess). IE6 and IE7 on XP Pro have no problems handling the same search and the results are displayed in a nice table. I was able to look at some of the code and it looks like something with XML data islands and XSLT stylesheets may have something to do with OS X's problem rendering the results. We've also tried multiple browsers in OS X (IE, Firefox, Opera) with similar results. Does anyone have any more insight as to what might be the issue here? I'm not very familiar with XML and XSLT. If worse comes to worse, Parallels is always an option but I'd rather not have to buy XP just for one thing. Thanks. .//chris
-
Answer:
http://developer.apple.com/internet/safari/faq.html#anchor21, so that might be your problem in Safari. But Firefox and Opera have different rendering engines that are platform independent. Generally when something only works in IE, it's because it was specifically written for IE rather than according to standards. But it's hard to give specific answers with only a vague description of the data. Is this only somewhere you can point to it?
hummercash at Ask.Metafilter.Com Visit the source
Other answers
>10.4.8 and Safari let me search an XML database I don't think they do! I don't think IE6 and 7 do either. Also, "XML Database" doesn't make sense either. There's really no such thing. There are XML files, and there are databases which might store or output data in XML, but "XML Database"? Not enough to go on. Do you mean you're using a website with a search form? What do you mean by "jumbled mess"? Is the source code the same in both browsers, but the display is different? Please describe in a lot more detail what you do, and what happens when you do it.
AmbroseChapel
The site is probably trying to do dynamic transformation of XML using XSLT. You can investigate this a couple ways.Does the site work in Firefox on Windows? If not, that's an obvious sign that it's using IE-specific functionality.Look through the javascript being used by the page? Do you see the transformNode method being used? That's the IE-specific way of doing dynamic XSLT transformations.Try disabling ActiveX while viewing the site in IE6 (or IE7). I believe that disables the dynamic XSLT transformation functionality.If this is the problem, the good news is that the site can relatively easily be made cross-platform using http://code.google.com/p/ajaxslt/ (or, alternately, http://sourceforge.net/projects/sarissa, although it doesn't support as many older browsers).
gsteff
I wasn't totally clear above. The site may be trying to do dynamic transformation of XML using XSLT in an IE-specific way.
gsteff
Related Q & A:
- How do I issue multiple commands using telnet or netcat?Best solution by Super User
- How to replace double quotes with single quotes in XSLT?Best solution by oxygenxml.com
- How to convert build.xml to maven pom.xml file?Best solution by Stack Overflow
- How to get XML node value in XSLT?Best solution by Stack Overflow
- What is color rendering index?Best solution by en.wikipedia.org
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.