Hi,
On 03/06/10 18:19, Ken Paulsen wrote:
>
> Or perhaps we could provide an XML stylesheet (or use XSLT)? See:
>
> http://www.w3schools.com/xml/xml_examples.asp
>
One of the problems you might encounter with in-browser XSLT transforms
is DOM access in Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=230214
The examples in this duplicate bug still show the bug with FF 3.6:
https://bugzilla.mozilla.org/show_bug.cgi?id=325835
I encountered the problem a few years ago and, as far as I remember, the
JavaScript DOM functions are confused in Firefox between the DOM of the
original XML document and that of the resulting (X)HTML document.
It's not a problem for a simple web page, but it becomes one for more
trendy AJAX-based user interfaces.
A good workaround is to do the transformation on the server side, but
this wouldn't solve the content-negotiation problem.
Best wishes,
Bruno.