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

Re: Array content model

  • From: "Anthony B. Coates, ESL +61 2 9373 7972" <tony.coates@r...>
  • To: John.OSullivan@c..., xml-dev@l...
  • Date: Sun, 09 Apr 2000 12:12:35 +1000

array contents to xml
** Reply to message from John.OSullivan@c... on Wed, 5 Apr 2000 10:06:29
+0100

Dear John,

	I would suggest having an enclosing tag, but not "items".  Basically, if you
do not have an enclosing tag for each items, you force onto the <item> tag a
semantic assumption that all items are part of what is being purchased.  In the
short term, that may be fine, but "item" is such a common idea that you may want
to re-use it for something different somewhere down the track (as other posters
have already pointed out).

	However, if you must enclose <item> tags with something, then <items> is not
an ideal choice, because it tells you nothing of added value.  Instead, how
about something like a <contents> or <manifest> tag, which really sets the
context for the items?

	I'm happy to discuss this further if you like, since Reuters has an interest
in FpML.

	Cheers,
			Tony.

>     <items>
>         <item partNum="872-AA">
>             <!-- detail elided -->
>         </item>
>         <item partNum="926-AA">
>             <!-- detail elided -->
>         </item>
>     </items>


------------------------------------------------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Reuters Ltd.

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.