Subject: Re: [xsl] Remove a number at the beginning of some text From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 7 Jan 2009 23:41:40 GMT |
<xsl:template match="p/text()[1]"> <xsl:value-of select="replace(.,'^[0-9.]+\s*','')"/> </xsl:template> David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Remove a number at the be, Graeme Kidd | Thread | [xsl] how to extract text, translat, Robert P. J. Day |
Re: [xsl] casting sequences, Florent Georges | Date | Re: [xsl] Testing Text, Ganesh Babu N |
Month |