XSLT Transformations with Javascript in xslt stylesheet
Hi
I am trying to make transofromation of one stylesheet containg some Javascript.
transform.TransformStream fails each time xslt contains javasript. Is there a way of making it work?
Arek
Discussion (4)0
Comments
No
If the question is, can XSLT process JavaScript, the answer is no. XSLT processors are not able to process JavaScript. If the question is can XSLT include JavaScript as character data by using appropriate escapes the answer is yes.
Thank you. I wasn't 100% certain about this.
.net transformation library do allow processing javascript.
Some XSLT engines can process arbitrary javascript as code.