Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
| Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 10th, 2007, 01:59 AM
Registered User
 
Join Date: Aug 2007
Location: Ä°st, , Turkey.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default From numeric to alfa numeric

Hi;
I have a sample xml file.For Example Xml file has below Nodes

<Products>
<Product>
<Price>9999<Price>
 <Product>
 <Products>

I want to write 9999 with alfa numeric character( nine thousand nine hundred ninety nine) by means of xslt
How I can ?

 
Old August 10th, 2007, 06:13 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

XSLT 2.0 provides this feature:

<xsl:number value="Price" format="w" lang="en"/>

I don't think you're likely to find this capability in an XSLT 1.0 processor.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference




Similar Threads
Thread Thread Starter Forum Replies Last Post
numeric only textbox Hughesie78 Classic ASP Basics 7 December 5th, 2007 10:58 AM
How can i know it's NUMERIC deco Beginning VB 6 1 April 23rd, 2007 06:19 AM
HELP!! Numeric Textbox value quentinuys HTML Code Clinic 3 December 18th, 2006 08:04 AM
Determine if numeric Scootterp Access VBA 4 March 2nd, 2006 08:44 AM
Numeric Up Down Kunkel General .NET 0 April 16th, 2004 10:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.