xsl-list
[Top] [All Lists]

Re: [xsl] tokenizing comma separated string with quotes

2007-02-22 06:29:19

Cool, thanks.  In csv quotes in quoted values are escaped by doubling
the quotes, so just removing the opening/closing quotes is the way to
go. 

well not exactly as a doubled quote wouldn't make it through the [^"]* regexp
in the first place. you need
([^"]|"")*
for that

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--