I'm currently in the process of updating a (lot of) old xsl+html code to render xhtml compliant code but am running up against a problem where pages include inline javascript. Some of the javascript can be removed from being inline and placed into linked js files.
However, there are a number of places where xsl elements are used inside the javascript.
When viewing the output in a browser, the rendering seems to stop at where the javascript appears in the source (the source is generated fine).
I have tried all the usual CDATA and xsl:comment hacks around these javascript blocks but still the same result.
Any help on this one would be appreciated. Please ask if you need any further information.