[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Costello, Roger L." <costello@m...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Tue, 16 Jul 2019 12:17:26 +0000

The dash symbol ( - ) indicates no information available. In my example, there is no information available about the Make of the Venture Extended Edition auto. Given that, how would you represent in XML that row of the CSV?

 

/Roger

 

From: Timothy Cook <timothywayne.cook@g...>
Sent: Tuesday, July 16, 2019 7:57 AM
To: Costello, Roger L. <costello@m...>
Cc: xml-dev@l...
Subject: Re: How would you represent in XML this Comma Separated Value (CSV)?

 

You did not disclose whether you are certain that a dash character represents a null value or has some other meaning.

With the information available, the '-' would be a string value as the <make>-</make>

 

 

On Tue, Jul 16, 2019 at 8:04 AM Costello, Roger L. <costello@m...> wrote:

Hi Folks,

 

Consider this CSV:

 

 

How would you represent that in XML? In particular, how would you represent the row with a dash in the Make field:

 

 

Would you represent the row this way:

 

 

xsi:nil="true" seems like the ideal thing to use in this situation. What do you think? How would you represent in XML that row of CSV?

 

/Roger


 

--

Timothy W. Cook



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member