Closed Bug 329412 Opened 18 years ago Closed 18 years ago

Problem with embedding JavaScript in XSLT transorm: document.write() and invoking fukctions from js file.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 68193

People

(Reporter: ninail, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

When i try do place javascript function document.write in my xslt template, the transformation doesn't work (white screen with 'waiting icon' appears when i want to view the xml file in FF). Also invoking functions form external js file (not only the document.write) is causing FF not to perform the transformation at all (the function is executed though). So when document.write("Test") is invoked from external file the "Test" should appear on the screen and only that. When i try to use the freeware dynamic menu scripts FF don't even finish execution of them.
IE6 handles all above problems well.
Also the xslt output type shoul be set as 'html' to begin with. In other case FF just write down the content of the xml without any transformation.

Reproducible: Always

*** This bug has been marked as a duplicate of 68193 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Which FF beta vesion should I download to see if the xslt transforms with embedded javascript are working well?
You need to log in before you can comment on or make changes to this bug.