Loading ...
Sorry, an error occurred while loading the content.

simple if loop

Expand Messages
  • kiran
    Hi all Iam trying to include one simple java script in XSL file .for example function f1(){ var a=0; var b=9; if( a b){
    Message 1 of 3 , Oct 31, 2001
    • 0 Attachment
      Hi all
       
      Iam trying to include one simple java script in XSL file .for example
       
      <xsl>
       
      <script language="javascript">
       
      function f1(){
       
      var a=0;
      var b=9;
      if( a > b){       
      alert("a is greater than b");
      }
       
      </script>
       
       
      </xsl>
       
       
      Here the problem is U can not include < ,> in java script , if u wre using <xsl>.
      Iam not getting what i have to use for >,< in java script that is in the XSL file
       
      regards
      vasireddy
    • neelkamal.shaikh@gedc.tcs.co.in
      Try using < for .
      Message 2 of 3 , Oct 31, 2001
      • 0 Attachment
        Try using < for < and > for >.
      • afa@atarde.com.br
        if you want to the XML document transform in HTML wthi script you have do put the code about
        Message 3 of 3 , Nov 1, 2001
        • 0 Attachment
          if you want to the XML document transform in HTML wthi script you have do put
          the code about > < but if you want that XSL use this script you have to put
          <xsl:script> and put your code
        Your message has been successfully submitted and would be delivered to recipients shortly.