|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Old vs. New and LotusXSL
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








