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 ]
  • To: xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] [newbie] Mapping a Map 101?
  • From: PA <petite.abeille@gmail.com>
  • Date: Sat, 11 Dec 2004 00:27:47 +0100
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:return-path:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=kktlgDrWST3RpXjd9RELGyZPd8vcQe+Ud+019DUkcKcY1Q7oQpIpPxdW1HlZMUKlX0A9s3yVfrC/sxWD/zztW8tK1+8voRCQRTlwuLLQHRhA8nUi5SzvI0BOCB9k0ktzplEnmwCl0KmbwBdrmVCS9nTzs9tLEavL0w1kKqrH0w8=
  • In-reply-to: <E1Cctu1-0006fh-00@ukmail1.eechost.net>
  • References: <E1Cctu1-0006fh-00@ukmail1.eechost.net>

On Dec 11, 2004, at 00:10, Michael Kay wrote:

>> Is there a more or less "agreed upon" scheme to define a map type
>> structure in XML?
> No.

Bummer :/

I would have thought that such a structure would have been pretty 
common by now, no?

> I tend to use <entry key="key">value</entry> probably because it uses 
> only
> two names and I have trouble thinking of names.

I see.

In my case, keys can be of any type, so I'm not quite sure if using an 
element attribute would work...

How would I express the following if using element attributes?






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

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