[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: in IE5


Subject: Re: <xsl:eval> in IE5
From: Behrouz.M-Rouhani@xxxxxxxx
Date: Mon, 24 May 1999 09:46:52 +0000


Are you sure Now() is a JavaScript standard function?

Behrouz






"Cote, Stephane" <scote@xxxxxxxxxxxxxxxxxxx> on 21/05/99 18:31:07

Please respond to xsl-list@xxxxxxxxxxxxxxxx

To:   "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx>
cc:    (bcc: Behrouz M-Rouhani/UK/Indus/GB)

Subject:  <xsl:eval> in IE5




Hi.

   Is it my impression but does <xsl:eval> hate JavaScript and only like
VBScript in IE5.  If I'm wrong can someone please tell me.

Thanks.

This example does not work with JavaScript:
  <xsl:eval language="JavaScript">getdate()</xsl:eval>

  <xsl:script language="JavaScript">
     function getdate() {
          getdate=Now()
     }
  </xsl:script>


But this examlpe works fine with VBScript:
  <xsl:eval language="VBScript">getdate()</xsl:eval>

  <xsl:script language="VBScript">
     function getdate()
          getdate=Now()
     end function
  </xsl:script>


                       ,,                      Stephane DeCoeli Cote
                  `    >                     InterPro Expense System
  |||                 ~              |||    w (925) 730-3717
-|||=oOOo====oOOo=|||-
  |||          \  / || \  /         |||
                 \/  ||  \/
                     / \
                   ~  ~


Title: <xsl:eval> in IE5

Hi.

   Is it my impression but does <xsl:eval> hate _javascript_ and only like
VBScript in IE5.  If I'm wrong can someone please tell me.

Thanks.

This example does not work with _javascript_:
  <xsl:eval language="_javascript_">getdate()</xsl:eval>

  <xsl:script language="_javascript_">
        function getdate() {
                getdate=Now()
        }
  </xsl:script>


But this examlpe works fine with VBScript:
  <xsl:eval language="VBScript">getdate()</xsl:eval>

  <xsl:script language="VBScript">
        function getdate()
                getdate=Now()
        end function
  </xsl:script>


                       ,,                      Stephane DeCoeli Cote
                  `    >                     InterPro Expense System
  |||                 ~              |||    w (925) 730-3717
-|||=oOOo====oOOo=|||-
  |||          \  / || \  /         |||  
                 \/  ||  \/         
                     / \
                   ~  ~            


Current Thread