[exslt] RE: exslt digest, Vol 1 #125 - 1 msg
by Bryan Rasmussen other posts by this author
Mar 21 2002 12:16PM messages near this date
Re: [exslt] Xalan-Java adds EXLST extensions
|
Re: [exslt] very low priority - date:add 'billionthSecBug'
you've got two problems here, msxml is not supported by the .net framework,
you have to import it, see
http://msdn.microsoft.com/msdnmag/issues/01/01/xml/xml.asp
the second problem is that jscript has some changes to it, mainly datatyping
changes to make it fit into the strongly typed world of .net, of course
using msxml in your framework should solve both problems because then msxml
should be calling the jscript.dll to interpret it, at least that's my guess
on what would happen with a script being executed in that manner.;)
-----Original Message-----
From: exslt-admin@[...].com
[mailto:exslt-admin@[...].com]On Behalf Of
exslt-request@[...].com
Sent: 21. marts 2002 20:01
To: exslt@[...].com
Subject: exslt digest, Vol 1 #125 - 1 msg
Send exslt mailing list submissions to
exslt@[...].com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.fourthought.com/mailman/listinfo/exslt
or, via email, send a message with subject or body 'help' to
exslt-request@[...].com
You can reach the person managing the list at
exslt-admin@[...].com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of exslt digest..."
Today's Topics:
1. date.js with .Net System.Xml.Xsl (Bruce Krautbauer)
--__--__--
Message: 1
Date: Wed, 20 Mar 2002 15:15:24 -0600
From: "Bruce Krautbauer" <bruce.krautbauer@[...].com>
To: <exslt@[...].com>
Subject: [exslt] date.js with .Net System.Xml.Xsl
Hi all,
Has anyone else run into problems with JavaScript and the .Net
System.Xml.Xsl class? If I import date.msxsl.xsl and try to compile it
using the .Net System.Xml.Xsl classes, for example when debugging with
ActiveState's Visual XSLT Visual Studio.Net add-in, I get the following
error (note, you have to get by a previous error by changing the language
attribute from 'ECMSScript' to 'JavaScript' first):
Exception Starting XSLTransform :System.Xml.Xsl.XsltException: Script
compile errors:
file:///C:/BothTrends/date.msxsl.xsl(23,1) : error JS1002: Syntax error
file:///C:/BothTrends/date.msxsl.xsl(25,35) : error JS1197: Too many errors.
The file might not be a JScript .NET file
I seem to have boiled the problem down to Array assignments, i.e., the
following stylesheet generates the same error at the my_array[0]=1 line:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="urn:my-scripts">
<msxsl:script language="Javascript" implements-prefix="user">
<![CDATA[
var my_array = new Array();
my_array[0] = 1;
]]>
</msxsl:script>
</xsl:stylesheet>
I have some applications that use various EXSLT functions, including
date:seconds(), and would really like to be able to do this work in my new
environment. Any suggestions?
Thanks,
Bruce
--__--__--
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
End of exslt Digest
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
|