-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alright, I've come around and decided that maybe an XML representation is the way to go. Here's a sample file that demonstrates how it might look:


<?xml version="1.0" ?>

<site>
 <!-- Site consists of one or more root vobjects -->
 <vobject name="world" type="a3dl:sector">

  <!-- (optional) defines access control policy for this vobject and
  all children that don't define their own access control policy -->
  <acl policy="core:accept-all,property:deny-all">
   <member href="/phred" />
   <member href="/barney" />
  </acl>

  <!-- Shorthand for defining a child vobject property -->
<property name="example" datatype="text/plain">Data goes here.</property>

  <!-- Link to a vobject on a remote site -->
  <link name="bloxx" href="vip://interreality.org/world/bloxx" />

  <!-- Link to a vobject on the local site -->
  <link name="that-guy" href="/phred">

  <!-- Can also specify a child object and supply datablocks (so it is
  loaded via the persistance interface) -->
  <child name="another-example" type="property:property">
   <block name="property:data">Hello there</block>
   <block name="property:datatype">text/plain</block>
  </child>

<!-- Child nodes are processed recursively the same way as vobject nodes - -->
  <child name="an-object" type="a3dl:object3d.cube">
    <property name="a3dl:position">1 2 3</property>
    <property name="a3dl:orientation">0 1 0 90</property>
    <child name="a3dl:material" type="a3dl:material">
      <property name="a3dl:color">.3 .5 .7</property>
    </child>
  </child>
 </vobject>

 <!-- Can define additional vobjects which are not connected to the
 first vobject  -->
 <vobject name="phred" type="core:identity,misc:avatar" />
 <vobject name="barney" type="core:identity,misc:avatar" />
</site>


[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDW8iUaeHUyhjCHfcRAhODAKCZQqA7B9eufYqKc5T2p1vpfzhtqwCfSmUD
ZrOQD22V79rPby7m88AfyeA=
=GXFG
-----END PGP SIGNATURE-----


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

Reply via email to