This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Maipulating text string data in XML file with XSL ??
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Maipulating text string data in XML file with XSL ??
- From: "Paul Tyson" <paul at precisiondocuments dot com>
- Date: Fri, 28 Sep 2001 07:57:04 -0700
- Organization: Precision Documents
- References: <NFBBKFHIILJADOCAECFLKEODCHAA.rkendall@aih.co.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
http://xsltsl.sourceforge.net/date-time.html might be useful. I didn't
check to see if it has your needed function.
--Paul Tyson
----- Original Message -----
From: "Ross Kendall" <rkendall@aih.co.uk>
To: "XSL-List" <XSL-List@lists.mulberrytech.com>
Sent: Friday, September 28, 2001 1:35 AM
Subject: [xsl] Maipulating text string data in XML file with XSL ??
> Hi there,
>
> I want to do some simple manipulation of some data in an XML file, however
> because I don't have a lot of XSLT experience I not sure if I can use it
to
> achieve what I want. I can easily achieve what I want with perl, but I'm
> trying to avoid that.
>
> Here is what a bit of data looks like in the XML file:
>
> <draw date="2001-9-26" value="3-14-15-17-19-47-(5)" prizes="0,0,0,0,0" />
>
> In the transformed document I want to change the presentation of the
'date'
> and the 'value' to be something like this:
>
> <date>Wednesday, 26 September 2001</date>
> <numbers>03 14 15 17 19 47<numbers/>
> <bonus>05</bonus>
>
> Thanks in advance to any kind person who responds.
>
> Regards,
>
> Ross Kendall
> Technical Developer
> Affinity Internet Holdings
> e: rkendall@aih.co.uk
> p: +44 (0)20 7670 1155
> w: http://www.aih.co.uk/
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list