[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schema as a data modeling tool
Here's a real simple real world example: People have phones Phones have phone numbers Except, sometimes the same phone number goes to a fax as well as a desk phone, or a single phone number is shared between multiple people, or people have more than one phone number. So what sits at the top of the tree? Phone number or Person? If your answer is that it depends on the problem at hand then you haven't done data modelling, you've modelled a single instance within our problem domain. Or, in-other-words, a tree can model a document that gives a single way to handle phones numbers, devices and people, but that single tree model does not reflect the management of phones numbers, devices and people within the enterprise.
More generally, you cannot represent any many to many relationship as a single tree. So, the answer to your question is that these models are not ever best represented as trees.
Peter Hunsberger
On Mon, Sep 30, 2013 at 4:43 PM, Hans-Juergen Rennau <hrennau@yahoo.de> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|