Problem with JavaScript operators in XSLT

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

    #1

    Problem with JavaScript operators in XSLT

    Why xslt can’t parse some JavaScript operator such as (<,<= ,>, >=, && ,;)
    Whereas it parsers others like (=, != ) in correct way?
    Any clue
    Cheers
  • elsheh
    New Member
    • Nov 2006
    • 29

    #2
    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

    Comment

    • mrhoo
      Contributor
      • Jun 2006
      • 428

      #3
      There is no reason to apply xslt to javascript source code.
      Use the script element's src attribute to attach your scripts from js files.

      Comment

      Working...