Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] 3 XML Design Principles

From: Norman Walsh <ndw@------.--->
To: "'XML Developers List'" <xml-dev@-----.---.--->
Date: 2/3/2005 8:22:00 PM
/ "Roger L. Costello" <costello@m...> was heard to say:
[...]
| XML Design Principle #3
|
| Minimize the amount of nesting you use.
|
| Nested data is tightly coupled and uses implicit relationships, both of
| which are bad.
|
| Flat data is good data!
|
| Flat data is loosely coupled and promotes the use of explicit relationships,
| both of which are good.
|
| Comments?  /Roger

Off the top of my head?

All generalizations are dangerous, even this one.
                            --Alexandre Dumas

Simplification good!  Oversimplification bad!
                            --Larry Wall

With sufficient markup, the important relationships in your data can
be perserved across transformations. Need to write an application that
can move a 100 pickers around in 1000 lots? Tease the lots and the
pickers apart, using pointers to preserve their locations, and shuffle
at will. Need to produce a table showing all the lots and which
pickers are in them? Shuffle it all together into a tabular structure.
I don't think any of your suggestions qualify as design rules
in the general case.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@n...> | A man may by custom fortify himself
http://nwalsh.com/            | against pain, shame, and suchlike
                              | accidents; but as to death, we can
                              | experience it but once, and are all
                              | apprentices when we come to it.--
                              | Montaigne

PGP signature


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