xsl-list
[Top] [All Lists]

Re: [xsl] Converting special characters in a CSV file using XSLT

2008-05-22 21:53:50
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:

¹ replace with '  (right single quotation marks with apostrophies)
é 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(_at_)CraneSoftwrights(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--