XSLT Transformations with Javascript in xslt stylesheet



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?


  • 0
  • 0
  • 148
  • 3
  • 1



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.

Some XSLT engines can process arbitrary javascript as code.

Thank you. I wasn't 100% certain about this.

 .net transformation library do allow processing javascript.