[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [newbie] Mapping a Map 101?

  • To: xml-dev@l...
  • Subject: Re: [newbie] Mapping a Map 101?
  • From: PA <petite.abeille@g...>
  • Date: Mon, 13 Dec 2004 17:53:50 +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=REgQT+oYeA9KyS58mc7O37dyjJRo9VsFJKa6rRt+Is4WdYO/OJlldDAO5fdhqiy6piiU06puF+LJJ+p4cMtYi0OLynVJG5wQxJd5QoG4EdD8FQoQ4vTq1ps6njC+nzOlze3DS7aQZNvZd9U78faiDfYFtzbc2Yxwm2sGdCDP1lw=
  • In-reply-to: <74B14CBC0FEB9D4EB16969F09FA51F450B1130@M...>
  • References: <74B14CBC0FEB9D4EB16969F09FA51F450B1130@M...>

line structure company

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.





PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.