[
Lists Home |
Date Index |
Thread Index
]
PA wrote:
> Ok. Why would relying on such relationships be a "bad" thing though?
> What are the benefits of introducing an <entry> tag in the <dict>
> structure?
1. Most APIs/languages/tools such as XSLT can much more conveniently
operate on the parent-child relationship than the sibling relationship.
2. It's more extensible. For instance, you could extend the entry
approach to include multi-valued keys and valueless keys quite easily.
--
Elliotte Rusty Harold elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
|