At 08:10 pm 9/10/01, Marcus Carr wrote:
>There's no reason for the element to exist if there's no data to put in it. If you did something like <fax exist="no"/> then I could accept your position, because even though there is no data content, information is being translated, namely that this person does not have a fax. Simply leaving it empty does not relay any information - it might be empty because you forgot to
>fill it out, didn't know the number or because your father has no fax machine. Or it might be empty because your structure requires it to exist, even though you know that it isn't applicable to all addresses.
this is true. it comes down to how you define the elements in your DTD. i can make the fax element optional. when the entry doesn't have a fax, just leave that element out of the entry. saves time, saves space, and makes the document a little easier to read. but again, it's all in the DTD and what you put in there.