Closed Bug 434730 Opened 16 years ago Closed 16 years ago

Can not add nodes to DOM (with JavaScript) generated via XSLT

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Susanne.Klemm, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

I have an XML document with an attached XSLT which creates xhtml. In the XHTML file there is a JavaScript file assigned which tries to add a node to a div. Adding text nodes or changing attributes do work.

If I save the generated XHTML in a file and open this file in Firefox, the Script works fine. So I think there is a problem with changing the dom of a genereated document with XSLT.

Reproducible: Always

Steps to Reproduce:
1. Create any XML file and attach an XSLT file which creates an XHTML file with JavaScript content
2. The JavaScript content should query a node (e.g. div, getById)
3. Try to add a node (appendChild)
Actual Results:  
Added node is not displayed and not accessible for further JavaScript access.

Expected Results:  
Node should be displayed an be accessible.

IE works fine with the example. Safari has this problem too.
I retried my example and now it works fine. Shame on me!
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.