Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Question about design [Thread Next] Re: Question about designTo: NULL Date: 11/1/2006 2:08:00 PM razael1@g... wrote: > Are putting the different types of objects in their own groups > redundant, or does it make things clearer/more organized? As with any other programming data-structure design issue, this is as much a matter of style as anything else. If you were designing these as structures/objects in your favorite programming language, which organization would you prefer? The answer probably depends on which operations you're going to be doing most often. Approach the XML design the same way. Generally, there's no harm in having an extra level of hierarchy in your data structures. However, I would suggest using attributes for values which describe a datum rather than being contained within it. Specifically, I would prefer <building name="..."> rather than making name an element, unless the name is itself a structured datum. -- () ASCII Ribbon Campaign | Joe Kesselman /\ Stamp out HTML e-mail! | System architexture and kinetic poetry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
