Netscape 7, xsl, js problem
Greetings to all -
I've noticed that my xsl transformation does not work in Netscape 7.
It worked fine in Netscape 6.1, or if html file is generated using
xalan (and it works in IE 5, not that it's important :-)
If I load my xml file in Netscape 7 it goes into the load loop and
never comes out of it. I've been able to localize the problem. It's
related to the document.write() JS call inside the template. If I
would comment out the JS call then everything works fine.
Here is the stylesheet file called test.xsl with relevant code in it:
<xsl:output method="html" indent="yes" />
Any xml file will do but here is the one that I've used:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
Any idea why it does not work with this JS call in Netscape 7 ?
Re: Netscape 7, xsl, js problem
> If I load my xml file in Netscape 7 it goes into the load loop and
> never comes out of it. I've been able to localize the problem. It's
> related to the document.write() JS call inside the template. If I
> would comment out the JS call then everything works fine.
Netscape doesn't support the use of document.write in the result
document of an XSLT transformation, see issue 4. in the faq
|All times are GMT. The time now is 02:43 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.