Subject: Re: [xsl] substring function not handling hyphens in variables correctly From: David_Marston@xxxxxxxxx Date: Thu, 13 Sep 2001 13:25:38 -0400 |
>I have just upgraded from Xalan 1.0.0 to Xalan 1.3. >The following snippets no longer function correctly: >select="concat(substring($user,1,3),substring($user,5,6),...)" Somewhere back in time, the working group decided that the third argument to substring() should be a length, not a character position. So the change was necessary to make substring conform to the XPath 1.0 specs. .................David Marston PS: Tony's solution should work much better. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] substring function not ha, Chas Mick | Thread | [xsl] Extracting a list of unique b, Taras Tielkes |
Re: [xsl] forward references from n, David Carlisle | Date | RE: [xsl] Extracting a list of uniq, Taras Tielkes |
Month |