Subject: Re: Splitting non-delimited string
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Dec 2001 17:27:36 GMT
|
<xsl:variable name="x"
select="translate(AgencyReportNumber,'0123456789','')"/>
<NUMBER-PORTION>
<xsl:value-of
select="substring(AgencyReportNumber,1,string-length(AgencyReportNumber)-string
- length($x))"/>
</NUMBER-PORTION>
<TEXT-PORTION>
<xsl:value-of select="$x"/>
</TEXT-PORTION>
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|