p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XML (http://p2p.wrox.com/forumdisplay.php?f=91)
-   -   csv > xml command line tool, encoding option (http://p2p.wrox.com/showthread.php?t=71537)

Kabe November 20th, 2008 07:52 AM

csv > xml command line tool, encoding option
 
anyone aware about a command line csv > xml converting tool, where it is possible to set the encoding?

now i'm using csv2xml from A7Soft, which do the job fine, but i need to have "<?xml version="1.0" encoding="ISO-8859-1"?>" instead of "<?xml version="1.0"?>"

thx a lot
kristof

mhkay November 20th, 2008 08:08 AM

Why not just do an identity transformation on the result, to change the encoding?

Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference

Kabe November 20th, 2008 09:06 AM

i never know before what special characters i'll get ...
maybe i haven't to know this before ...

can you give me an example how to do (in asp,vbscript)?

thx,
kristof


All times are GMT -4. The time now is 07:29 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.