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

Re: Old vs. New and LotusXSL

Subject: Re: Old vs. New and LotusXSL
From: Sunil Jain <sujain@xxxxxxxxx>
Date: Wed, 15 Sep 1999 10:01:42 -0600
sunil jain
Jon,

Try with if condition before substring.
If length($getModuleNumberCurrent) > 11 then substring.
At some place it might not be finding string with llength greater than 11

Sunil
At 09:30 AM 9/15/99 -0700, you wrote:
>The following code works fine on my local machine running v0_18_2. Any
>reason why it would work with the immediate previous version of LotusXSL?
>
><xsl:variable name="getModuleNumberCurrent">
><xsl:value-of select="PXML/@about"/>
></xsl:variable>
><xsl:variable name="moduleNumberCurrent">
><xsl:value-of select="substring($getModuleNumberCurrent, 11, 1)"/>
></xsl:variable>
>
>I get this error when I run it on my server which is the previous version:
>
>Error! String index out of range: -9 XSL Process was not successful.
>
>Help!
>
>Thanks,
>
>Jon
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


Sunil Jain
Field Productivity Engineering
Cisco Systems, Inc
Email : sujain@xxxxxxxxx
Phone: (408) 525-6773
Page: sujain@xxxxxxxxxxxxxxx


 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.