Javascript in XSLT

I have an XSLT doc that is used to transform an XML doc through a transform call from an ASP page, with the output being written to client with Response.Write. The Javascript has a function with a loop in it (using "<"); so I have to wrap that script block inside a CDATA to make XSLT happy.

At the bottom of the XSLT doc, that function is called (after writing out a bunch of HTML); but nothing happens. It's as if Javascript can't find the function embedded in the CDATA and just gives up.

Any ideas on how I can get this to work? Your help would be greatly appreciated.

August 31,

This topic is archived.

See also:

Back to support forum