Greetings,

I am trying to customize the state file for the ShinDig Sample Container and
have a few questions on how to properly define more complex data than just a
list of friends with no meaningful data.

Given this:
<container>
  <viewer>
    <person id="john.doe" name="John Doe"></person>
  </viewer>

  <viewerFriends>
     <person id="jane.doe" name="Jane Doe"></person>
     <person id="george.doe" name="George Doe"></person>
  </viewerFriends>

  <personAppData>
    <data person="george.doe" field="count">2</data>
    <data person="jane.doe" field="count">7</data>
  </personAppData>
</container>

How would I best go about defining Address structures for each of these
friends, and then tying those addresses to each member's currentLocation
attribute?

I've tried going through the state.dtd file to find out how data like this
would be structured but I'm at a loss. Also, what is the significance of the
field "count" in this context? Is that just a representation of an arbitrary
field?

Thank you for any help.

Taylor Singletary,
Reality Technician
http://realitytechnicians.com

Reply via email to