Hi. Everyone
I’m using xslt styllesheet to transform my xml doc. into an html doc. The task includes embedding some JavaScript code for validation purpose, till this point there is no problem everything is going right. Once I tried to get an xhtml doc instead of html, JavaScript problem was raised. In other words, the transformation is performed right apart from JavaScript problem which is, some of JavaScript special characters such as (< , >, &&) were converted into (< , > , ….) which cause some problems with validation task, despite the fact that all JavaScript code is placed between <![CDATA and ]]>. So, any clue to keep whole JavaScript code in its original form?
Your help is much appreciated
I’m using xslt styllesheet to transform my xml doc. into an html doc. The task includes embedding some JavaScript code for validation purpose, till this point there is no problem everything is going right. Once I tried to get an xhtml doc instead of html, JavaScript problem was raised. In other words, the transformation is performed right apart from JavaScript problem which is, some of JavaScript special characters such as (< , >, &&) were converted into (< , > , ….) which cause some problems with validation task, despite the fact that all JavaScript code is placed between <![CDATA and ]]>. So, any clue to keep whole JavaScript code in its original form?
Your help is much appreciated