
August 28th, 2004, 10:08 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
XSL/Animation
I am admittedly a newbie at XML/XSL, so please be patient and I'll try to explain my problem.
I have established a data island to generate a navigation pane within my web pages so that I won't have to include mucho HTML within each page (modularization). I used the transformNode method to transform the XML (both XML and XSL are external documents).
All of the navigation entries are correctly transformed, along with the <a> hrefs, etc. The problem is that I am trying to animate those same navigation entries. I would like to do so either with script or with HTML+TIME.
If I include script on the original HTML page all works OK. But I would prefer to place either the script or HTML+TIME statements within the XML or XSL documents. If I put the same script within the XSL, it appears to be correct but when rendered the browser gives an error regarding requiring an object (or something like that), as if there is a scripting problem.
I can generate what seems to be correct HTML+TIME statements (placed within the XSL), but they don't work. For testing purposes, I put an extra script statement within the HTML document to copy all of the generated code via an innerText property, just so I could see the transformed results. If I copy the exact same code to replace the data island, everything works fine.
It seems like the resulting generated HTML document is not getting parsed after the XSL transformation. It must be a timing error.
Please help. Thanx.
|