![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Moving from MSXML4.0 to Server.XML in .NET 2.0 Moving from MSXML4.0 to Server.XML in .NET 2.0To: NULL Date: 7/17/2007 9:43:00 PM
Hi
As I move from MSXML to Server.XML, I think the VBScript in my
stylesheet stopped the transformation a few times.
If I use Date() instead of Now(), I get this error message:
"'Date' is a type and cannot be used as an expression."
If I have a VBScript select statement like this:
Select Case ProjectType
Case "Cont" pt = "C"
Case "Temp" pt = "T"
End Select
An error message will appear saying:
"End of statement expected."
However if I changed the select statement to this:
Select Case ProjectType
Case "Cont"
pt = "C"
Case "Temp"
pt = "T"
End Select
It will work. (Both worked in MSXML4.0)
Maybe MSXML4.0 just tolerated a grammatical mistake which I am not
suppose to make. However the point is: are there any other VBScript
related error which might come up during my conversion from MSXML to
Server.XML ?
Cheers
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
