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

Re: CSV to XML transformation XSLT to include special

Subject: Re: CSV to XML transformation XSLT to include special characters?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 3 Apr 2008 11:01:50 +0100
Re:  CSV to XML transformation XSLT to include special
> Tried this with no luck - any other ideas?

where did you put the encoding declaration?

the declaration needs to go in the file that has the latin-1 characters,
if it is xml, but as far as I understand your input is not xml
it's in a text file, so you need to tell the unparsed-text() function
that your text is in an encoding other than the default, using the
optional second argument.

see the example

http://www.w3.org/TR/xslt20/#d5e22242


David

PS
(I wish the stylesheets to make the xslt spec didn't use generate-id to
generate anchors, Mike:-)

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

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.