|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Recognising Unicode in a CSV to XML transform
> The unparsed-text() and unparsed-text-available() functions take a
> second argument for the encoding.
Brillant - Thanks Andrew.
I have added in the encoding argument and it can now recognise my CSV.
Lines I have amended:
<xsl:when test="unparsed-text-available($pathToCSV, 'iso-8859-1')">
<xsl:variable name="csv" select="unparsed-text($pathToCSV, 'iso-8859-
1')"/>
One last small problem - it is converting the i character to C).
Am i using the correct encoding value? Or do I have to also insert a transform()
somewhere to deal with this?
All your help has been fabulous!
Marney
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






