[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Maipulating text string data in XML file with XSL

Subject: RE: Maipulating text string data in XML file with XSL ??
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Fri, 28 Sep 2001 11:59:29 +0100
string to a xml file
Ross,
There are many ways to do this but they might be difficult to get to
grips with if you are a beginner. As you are familiar with perl have a
look at the regex functions at exslt.org. There are also date time
handling functions there.

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Ross Kendall
> Sent: 28 September 2001 09:35
> To: XSL-List
> Subject:  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@xxxxxxxxx
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.