[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: csv to xml converter bug
On 7/10/07, mcburton <mcburton@xxxxxxxxx> wrote:
Gak! I was having the same problem last week. I have a complete hack solution:
Processing XML seems to suffer from hacks - probably because of the mysteries of encoding and entity resolution, but all to often I come across double escaping and odd combinations of characters put there by some well-meaning-but-oh-so-wrong programmer yet to discover forums and mailings lists (that's the vast majority in my small corner), trying to ndash and mdash to display correctly. There's a rule I follow - "when you feel like using a delimeter - don't" "Hmmm, maybe if we convert all commas inside quoted values to say, pipes |, then we could just tokenize on comma and then covert the pipes backs to commas..." Seems kind of plausible, but will always come back to bite you in the end. (Contractors take note - you've normally left by then...) -- http://andrewjwelch.com
|
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
|