← Prev in month ← Prev in thread
Next in thread → Next in month →

conditional data for basic elements

From
Yasuyuki Nishioka <>
Date
2004-06-18T21:47:18+00:00
ID
Thread
conditional data for basic elements
numerical data, time and duration data, and text data
can have constraints for their value. These constraints
are used for data query messages.

$B?tCM%G!r7o$r(B
$BIU2C$9$k$3$H$,$G$-$^$9!#$H$&$a$s!"$3$l$O%/%(%j$K(B
$B$N$_MxMQ$7$^$9$,!"%9%1%8%e!-MhMxMQ$5$l$k$3$H$b$"$k$+$b$7$l$^$;$s!#(B

For numerical data, <min> and <max> can be defined.
Similar to them, <earliest> and <latest> are for time
data, <shortest> and <longest> are for duration, and
<enumerate> is used to enumerate candidates of a
text data.

$B?tCM%G!]MWAG%?%0$N;R$H$7$FDj5A$9$k$3$H$G(B
$B$=$NCM$NHO0O!J@)Ls>r7o!K$rI=$7$^$9!#$?$H$($P!"#1#0#01_(B
$B0J2l9g$K$O!"0J2r7o$rI=$9>l9g$K$O!"(B
$BDL>o$NCM$NI=8=$O!"CM$N0lCW!J@)Ls>r7o!K$H$J$j$^$9!#(B

If the price is "less than 100 yen," then use an exclusive
attribute such as

$B$b$7!"#1#0#01_L$K~$rI=$7$?$$>l9g$K$O!"0J2l9g$K$O!"3:Ev$9$k(B
$BMWAG$r$9$Y$F(B<enumerate>$B%?%0$GNs5s$7$^$9!#(Bexclusive$BB0@-(B
$B$r(Btrue$B$H$7$F!"3:Ev$7$J$$MWAG$r;XDj$9$k$3$H$b$G$-$^$9!#(B

<spec name="status">
  <char>
    <enumerate value="ready"/>
    <enumerate value="done"/>
  </char>
</spec>

-- 
Yasu Nissy (Yasuyuki NISHIOKA), Dr.Eng.
MIT, 41-211
77 Massachusetts Ave
Cambridge MA 02139
Phone 617-452-2982, Fax 617-253-2249
 <>
← Prev in month ← Prev in thread
Next in thread → Next in month →