OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

pps message

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


Subject: basic design of tag structure 2


The values of numerical or temporal parameters are represented
in attribute instead of a content of element. This is because
the tag can correspond not only a value but also constraints
or structure of the object.

ほとんどのタグは、値が要素の中ではなく、属性に設定されて
いますが、これは、重要な特徴で、要素=オブジェクトは
複数の顔をもっているためです。つまり、要素=値ではなくて、
値として振舞うこともできるし、制約を表現することもできるし、
構造をあらわすこともできること考慮しているためです。

For example, value of <item> is not represented by

たとえば、<time>という要素の値は、

<time>2004-06-13T12:00:00</time>

but,

ではなくて、

<time value="2004-06-13T12:00:00"/>

where, following specification is available.

と表現するのは、もしこれが制約を表す場合に

<time><latest value="2004-06-13T12:00:00"/></time>

とするためです。

-- 
Yasu Nissy (Yasuyuki NISHIOKA), Dr.Eng.
MIT, 41-211
77 Massachusetts Ave
Cambridge MA 02139
Phone 617-452-2982, Fax 617-253-2249
nishioka@mit.edu <nishioka@k.hosei.ac.jp>


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