[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
2008/5/26 Marney Cotterill <marney@xxxxxxxxxxxxxxxxxxxx>: > My problem is when I feed the transform a CSV with any characters that sit > outside the Basic Latin set, I get the "Cannot locate :" messege found in > the <xsl:otherwise> statement. > > Is it possible to somehow integrate the following into the regex of the > initial analyze string so these characters do not break the transform? Hi, The unparsed-text() and unparsed-text-available() functions take a second argument for the encoding: http://www.w3.org/TR/xslt20/#function-unparsed-text cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
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
|