W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2001

Re: Wrapping CSV format data in XML

From: <Mike_Leditschke@nemmco.com.au>
Date: Fri, 2 Mar 2001 02:05:14 +1000
To: duerst@w3.org
Cc: xmlschema-dev@w3.org
Message-ID: <OF75F1EC56.D9BC6CFD-ON4A256A02.0057FC08@nemmco.com.au>

Hi Martin. Thanks for your interest.

There are various reasons for this approach, some political, some
volume/compression
issues (I'm dealing with gigabytes/day of metering data)

On the assumption that I want CSV style data as the contents of an element,
and
I wish to preserve the line terminators, what is the appropriate Schema
element type
to use?

Thanks
Michael



                                                                                                                                        
                    Martin Duerst                                                                                                       
                    <duerst@w3.or        To:     Mike_Leditschke@nemmco.com.au, xmlschema-dev@w3.org                                    
                    g>                   cc:                                                                                            
                                         Subject:     Re: Wrapping CSV format data in XML                                               
                    01/03/2001                                                                                                          
                    08:36 PM                                                                                                            
                    Please                                                                                                              
                    respond to                                                                                                          
                    duerst                                                                                                              
                                                                                                                                        
                                                                                                                                        




What about <line><comma>....</comma><comma>....</comma></line>,
and so on, or of course anything closer to the semantics of
your actual data?

Regards,   Martin.

At 21:50 01/02/28 +1000, Mike_Leditschke@nemmco.com.au wrote:
>We have a need to wrapper data in CSV format in XML.
>
>One suggestion was to use a CDATA type but reading the fine print,
>I loose the line delimiters in this case. Is that correct?
>
>Is I use a string type, are delimiters preserved?
>
>Are there any sizing issues with a string type (the CSD data is about
>1Mb)
>
>
>Thanks
>Michael
Received on Thursday, 1 March 2001 11:06:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT