Re: [xsl] How to tokenize a comma-separated CSV record which has a field containing a string that has commas?

Subject: Re: [xsl] How to tokenize a comma-separated CSV record which has a field containing a string that has commas?
From: "C. M. Sperberg-McQueen cmsmcq@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Aug 2022 22:11:48 -0000
"C. M. Sperberg-McQueen cmsmcq@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:

> A quoted field begins and ends with a quotation mark (which, for
> legibility and to spare my Emacs mode the trauma of unmarked quotation

For 'unmarked' read 'unpaired'.  Sorry.

> marks, I write using its hex value: double quotation mark is U+0022,
> which we can write #22), and in the middle contains by zero or more
> occurrences of
>
>   - any character which is not a double quotation mark  
>   - a pair of double quotation marks, only one of which is copied to the
>     output



-- 
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
http://blackmesatech.com

Current Thread