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

Re: Wrapping CSV format data in XML

From: <Noah_Mendelsohn@lotus.com>
Date: Thu, 1 Mar 2001 13:37:11 -0500
To: Mike_Leditschke@nemmco.com.au
Cc: xmlschema-dev@w3.org
Message-ID: <OF1805D91B.D8B0C391-ON85256A02.005648F6@lotus.com>
Mike_Leditschke writes:

>> We have a need to wrapper data in CSV format in XML.

Obviously it depends on your needs (performance, etc.), but many XML 
purists would suggests that the best use of XML would be to express with 
explicit markup.

data1, data2



As with all XML, its verbose, but you get the benefit of XML tooling, 
stylesheets, database integration, etc.

If you really want to encode the string form, and don't have oddball 
character set requirements, you should note that the default value of the 
whitespace facet for the XML schemas string data type is preserve:  in 
that data type, carriage returns will be preserved.  (Of course, since 
you've sent to a schemas list, I'm giving you a schema-based answer.)

Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
Received on Thursday, 1 March 2001 13:50:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC