How do you write date and times into an attribute with a datetime databype?
I tried:
<NewsArticle Date="2008-05-11 11:20:00 AM">
But the schema generated from the xml file says the Date attribute is a
string. Then I tried:
<NewsArticle Date = 2008-05-11 11:20:00 Pm>
Again, this didn't work because the conversion program complained and told
me there was a parser error because there weren't quotes or apostrophes
around the date string. How do I fix this?