In the world of XML, is it better to leave blank elements in the file:
<widgets>
<widget>
<id>5</id>
<name>Bob</name>
<price>5.33</price>
<otherInfo>Bob is a ball.</otherInfo>
<dateAdded>9-5-2010</dateAdded>
</widget>
<widget>
<id>3</id>
<name>Mary</name>
<price>4.67</price>
<otherInfo></otherInfo>
<dateAdded>10-1-2010</dateAdded>
</widget>
</widgets>
Or remove them:
<widgets>
<widget>
<id>5</id>
<name>Bob</name>
<price>5.33</price>
<otherInfo>Bob is a ball.</otherInfo>
<dateAdded>9-5-2010</dateAdded>
</widget>
<widget>
<id>3</id>
<name>Mary</name>
<price>4.67</price>
<dateAdded>10-1-2010</dateAdded>
</widget>
</widgets>
For parsing, it'd be easier if they were there, since there wouldn't be a need to check if the element existed before trying to fetch it. On the other hand, the XML file would not be littered with blank elements.
Does best practices dictate one form of storage vs. the other, or does it depend on what data is being stored?