XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Don=E2=80=99t_create_elements_with_simple_co?==?UTF-8?Q?ntent_and_attributes?=



On Fri, Sep 28, 2018 at 11:43 AM Ihe Onwuka <ihe.onwuka@gmail.com> wrote:
 
<Cost>
    
<Currency>USD</Currency>
    
<Amount>8.95</Amount>
     <Currency>GBP</Currency>
    
<Amount>6.95</Amount>  
</Cost>  

Here the relationship between the Amounts and the currency that applies to (labels) them is the immediate preceding sibling.

I would have no idea what that meant either.  If an article of commerce has more than one cost, it should be put in a separate Cost element with some distinguishing feature such as country.

-- 
John Cowan          http://vrici.lojban.org/~cowan        cowan@ccil.org
All "isms" should be "wasms".   --Abbie



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS