Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Question about design

From: Joe Kesselman <keshlam-nospam@-------.--->
To: 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent