So i created an XML file with php. here is the result:
<mbInfo>
<post date="2007-10-13">
<name>1</name>
<email>11</email>
<location>111</location>
<message/>
</post>
<post date="">
<name/>
<email>22</email>
<location>222</location>
<message>test</message>
</post>
</mbInfo>
In the first <post> the database entry for message was null
in the second the entry for date and name were null
Im not sure about the date="">, however, i think <name/> and <message/> might cause some problems? should it be <name></name>, or is it fine as is?