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

RE: Re: What is the best way to cast integer to string

Subject: RE: Re: What is the best way to cast integer to string in X SLT2?
From: Andrew Watt <andrew@xxxxxxxxxxxxxx>
Date: Mon, 12 May 2003 17:36:00 +0100
cast integer to string
At 15:38 12/05/2003 +0100, you wrote:
> I don't think it is quite as simple as that. Nor, if I am
> correct, can it be.

Yes it could. Provide the functions from the engine, then manipulate the
strings.
  I guess that's what xslt users have been doing for a while?

Dave,


How does your suggestion solve the kind of issues arising with

<mySillyDate>Fred</mySillyDate>

and

<myNotQuiteSoSillyDate>25th December 2010</myNotQuiteSoSillyDate>

?

You are proposing that XSLT stylesheet authors continue to pfaff around with multiple string-related functions to manipulate dates .... ? Oops I mean strings that happen to look like dates. :)

So, correct me if I am misunderstanding you here, you are saying you will forego the date / time / duration functions in XPath 2.0 / XSLT 2.0 if it means you having to learn even a very little about W3C XML Schema?

Andrew Watt



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-2013 All Rights Reserved.