[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] parsing text
Subject: Re: [xsl] parsing text From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 6 Nov 2001 21:27:56 GMT |
if the current node contains the date then you can do Q<xsl:value-of select="ceiling(substring-before(.,'/') div 4)"/> assuming (from your 11/26/2001 example) that your date is in the rather strange non monotonic US month/day/year order. David _____________________________________________________________________ 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] parsing text, Ivo Wiens | Thread | [xsl] Server Side Transformation Im, ½Bî¶ §ºµth£Ñ½ |
Re: [xsl] Can you embed a filter te, Jörg Heinicke | Date | RE: [xsl] Transform XML to HTML tab, Michael Kay |
Month |