[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

String manipulation with script

Subject: String manipulation with script
From: Olof Tornqvist <olof@xxxxxxxxxxxxxxx>
Date: Tue, 15 Jun 1999 13:11:20 +0200
jscript string manipulation
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.