|
Subject: String manipulation with script From: Olof Tornqvist <olof@xxxxxxxxxxxxxxx> Date: Tue, 15 Jun 1999 13:11:20 +0200 |
I'm using the IE5 XSL parser, and in my script-code in the stylesheet I want to use string manipulating functions.
For example:
<xsl:script language="JScript">
<![CDATA[
function SubstringDemo()
{
var s;
var ss;
var s = "The quick brown fox jumped over the lazy yellow dog.";
ss = s.substring(16, 19);
return ss;
}
]]>
</xsl:script>
The s.substring() function gives me an error. This example is copied from the JScript documentation. Apperantly the Jscript-engine in the IE5 XSL parser does not support Jscript v.1
Any workarounds? VBScript?
Regards,
Olof Tornqvist,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| ANN: SAXON 4.3 (XSL interpreter and, Kay Michael | Thread | RE: String manipulation with script, Julian Reschke |
| RE: understanding trees, Andre Halama | Date | RE: Can solve the N-queens - but ca, Kay Michael |
| Month |