OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] [newbie] Mapping a Map 101?

[ 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!


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS