Problem with JavaScript operators in XSLT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elsheh
    New Member
    • Nov 2006
    • 29

    Problem with JavaScript operators in XSLT

    Hi.. 2 all
    How can I make XSLT processor recognise and tolerate JavaScripts operators such as ( < , >, <=, >=, &&). Placing all Javascript code between <![CDATA[and ]]> make this code is inactive.

    Plz help
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    Originally posted by elsheh
    Hi.. 2 all
    How can I make XSLT processor recognise and tolerate JavaScripts operators such as ( < , >, <=, >=, &&). Placing all Javascript code between <![CDATA[and ]]> make this code is inactive.

    Plz help
    Welcome to TheScripts TSDN...

    Replace
    < by &lt;
    > by &gt;
    && by &amp;&amp;

    Comment

    Working...