[Home] [By Thread] [By Date] [Recent Entries]
Hermann Stamm-Wilbrandt wrote:
OK, now I really simplified the sample to a minimum. The XML does not work for Firefox with the same error message, while the XHTML is fine: http://www.stamm-wilbrandt.de/en/xsl-list/gmap/s.xml http://www.stamm-wilbrandt.de/en/xsl-list/gmap/s.html As far as I can tell the problem with Firefox is likely caused by an attempt to use the DOM's document.write method to inject a script element dynamically. That is done by the Google maps code you include it seems. As Firefox's XSLT implementation directly renders the result tree of the XSLT transformation is does not support document.write in the result document (see https://developer.mozilla.org/en-US/docs/XSL_Transformations_in_Mozilla_FAQ#What_about_document.write.3F). I don't see an easy workaround, unless Google provides an API or a way to use the maps code without relying on document.write. -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
|

Cart



