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?=

1. Element name (lifting)

<CostInEuro>234</CostInEuro>

2. Attribute

<Cost currency="Euro">234</Cost>

3. Attribute reference  

<Cost currency="xyz">234</Cost>
...
<Currency id="xyz">Euro</Currency>

4. Container

<Cost
<Amount>234</Amount>
<Currency>Euro</Currency>
</Cost>

Regards
Rick

On Wed, 3 Oct. 2018, 00:18 John Cowan, <johnwcowan@gmail.com> wrote:


On Mon, Oct 1, 2018 at 11:01 PM Rick Jelliffe <rjelliffe@allette.com.au> wrote:

What is the pattern? XNL syntax provides four levels of differentiation: element names, attributes, reference attributes and container names.

Can you elaborate on the last two?  (Also, I assume XNL is a typo for XML.)

--
John Cowan          http://vrici.lojban.org/~cowan        cowan@ccil.org
"Make a case, man; you're full of naked assertions, just like Nietzsche."
"Oh, i suffer from that, too.  But you know, naked assertions or GTFO."
                        --heard on #scheme, sorta


[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