[
Lists Home |
Date Index |
Thread Index
]
On Dec 13, 2004, at 17:45, Chiusano Joseph wrote:
>> <value type="int">10</value>
>>
>> versus
>>
>> <int>10</int>
>
> With the second approach, how would you distinguish between specific
> elements?
Hmmm... not sure if I understand the question... a "minimalistic" map
could be defined as an ordered sequence of elements ... so the first
element is a key, the second one a value, and so on... for example:
1: <map>
2: <string>aKey</string>
3: <string>aValue</string>
4: <string>anotherKey</string>
5: <string>anotherValue</string>
6: </map>
When resolving such a structure, line 2 and 4 would be considered as
keys and line 3 and 5 as values.
Was that the question?
Cheers,
PA.
|