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

Re: Converting special characters in a CSV file using

Subject: Re: Converting special characters in a CSV file using XSLT
From: Marney Cotterill <marney@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 May 2008 15:55:39 +1000
Re:  Converting special characters in a CSV file using
Thanks Ken,

Would you have a small example of how the translate() function may work in
an XSLT template situation?

Thanks Heaps
Marney


On 23/5/08 2:52 PM, "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:

> Both XSLT 1.0 and XSLT 2.0 have the translate()
> function to convert any Unicode character to any
> other Unicode character from a string value
>
> I hope this helps.
>
> . . . . . . . . .  Ken
>
> At 2008-05-23 11:25 +1000, Marney Cotterill wrote:
>> Is it possible to convert the following characters:
>>
>> 9 replace with '  (right single quotation marks with apostrophies)
>> i replace with e
>> - replace with -   (en dash with a hyphen/minus)
>>
>> Within a CSV file using XSLT?
>>
>> Using XML version 1.0, processing with Kernow.
>>
>> Marney Cotterill
>> graphic designer
>
>
> --
> World-wide corporate, govt. & user group XML, XSL and UBL training
> RSS feeds:     publicly-available developer resources and training
> G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
> Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
> Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
> Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
>
>

Marney Cotterill
graphic designer

cracker//brandware

6 Bourke Street
Queens Park
NSW 2022
Telephone 02 9387 2001
Facsimile 02 9387 2006
marney@xxxxxxxxxxxxxxxxxxxx
www.crackerbrandware.com

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.