[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: csv data to xml
On 26/06/2013, Graydon <graydon@xxxxxxxxx> wrote: > If you're going to do a lot of whatever it is, XSLT 2 is nearly ideal; > you get your escaping for free, you can deal with the > never-to-be-sufficiently accursed quoted commas by tokenizing on "?,"? > after tokenizing on the newlines, the unparsed-text functions are very > handy things, matches, replace, and xsl:analyze-string really can do > about everything you'd want. > > I realize it isn't a traditional way to think of XSLT, but, really, 2.0 > is very nearly as good as perl for pure string handling tasks. _And_ it > won't let you commit some sin of omission with your character encoding. > It would be a *very* interesting experiment to write this in XSLT 2.0 (you) and in Perl 5 (me), exchange, test and compare ;-) -W > -- Graydon
|
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
|