Reed Hedges wrote:
> Peter Amstutz wrote:
>> It should be somewhat context-sensitive.

>   avatar {
>     types = misc:avatar
>     misc:nick {       
>       # Since a property key is given (the loading code will have
>       # a list of these, added by metaobjects), we can
>       # assume this object has "property:property"
>       # type and don't make them specify that:
>       property:value = reed
>       property:type = text/plain
>     }

ANother way to help people out is to make the prefixes optional if
you've given an object a type:

avatar {
  types = misc:avatar
  nick {
    types = property:property
    value = reed
    type = text/plain
  }
}

"expands" to:

avatar {
  types = misc:avatar
  misc:nick {
    types = property:property
    property:value = reed
    property:type = text/plain
}


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to