-- Example items in XML form --
Nested form (has duplication of 'secondary' items, not to mention how do we
express an item that has a reference back to itself?):
<item xmlns="http://schemas.osafoundation.org/sharingformat/1"
xmlns:ci="http://schemas.osafoundation.org/pim/contentitem"
xmlns:ta="http://schemas.osafoundation.org/pim/contentitem/tags"
xmlns:ct="http://schemas.osafoundation.org/pim/contact" >
<kind>Note</kind> ?? Suggestions on how to indicate kind(s) (plural because of stamping)
<ci:uuid>1</ci:uuid>
<ci:title>Example note</ci:title>
<ci:body>Example body</ci:body>
<ci:createdOn>2006-07-13 12:26:00-07:00</ci:createdOn>
<ci:lastModifiedBy>
<item>
<kind>Contact</kind>
<ci:uuid>4</ci:uuid>
<ct:emailAddress>morgen@example.com</ct:emailAddress>
<ct:firstName>Morgen</ct:firstName>
<ct:lastName>Sagen</ct:lastName>
</item>
</ci:lastModifiedBy>
<ta:tags>
<item>
<kind>Tag</kind>
<ci:uuid>2</ci:uuid>
<ci:title>Work</ci:title>
<ci:createdOn>2006-07-13 12:28:00-07:00</ci:createdOn>
<ci:lastModifiedBy>
<item>
<kind>Contact</kind>
<ci:uuid>4</ci:uuid>
<ct:emailAddress>morgen@example.com</ct:emailAddress>
<ct:firstName>Morgen</ct:firstName>
<ct:lastName>Sagen</ct:lastName>
</item>
</ci:lastModifiedBy>
</item>
<item>
<kind>Tag</kind>
<ci:uuid>3</ci:uuid>
<ci:title>Sharing</ci:title>
<ci:createdOn>2006-07-13 12:29:00-07:00</ci:createdOn>
<ci:lastModifiedBy>
<item>
<kind>Contact</kind>
<ci:uuid>4</ci:uuid>
<ct:emailAddress>morgen@example.com</ct:emailAddress>
<ct:firstName>Morgen</ct:firstName>
<ct:lastName>Sagen</ct:lastName>
</item>
</ci:lastModifiedBy>
</item>
</ta:tags>
</item>
Flattened form (How do we indicate the 'primary' item? Do we just say the
first item in the list is 'primary'?):
<items xmlns="http://schemas.osafoundation.org/sharingformat/1"
xmlns:ci="http://schemas.osafoundation.org/pim/contentitem"
xmlns:ta="http://schemas.osafoundation.org/pim/contentitem/tags"
xmlns:ct="http://schemas.osafoundation.org/pim/contact" >
<item>
<kind>Note</kind>
<ci:uuid>1</ci:uuid>
<ci:title>Example note</ci:title>
<ci:body>Example body</ci:body>
<ci:createdOn>2006-07-13 12:26:00-07:00</ci:createdOn>
<ci:lastModifiedBy>4</ci:lastModifiedBy>
<ta:tags>2</ta:tags>
<ta:tags>3</ta:tags>
</item>
<item>
<kind>Tag</kind>
<ci:uuid>2</ci:uuid>
<ci:title>Work</ci:title>
<ci:createdOn>2006-07-13 12:28:00-07:00</ci:createdOn>
<ci:lastModifiedBy>4</ci:lastModifiedBy>
</item>
<item>
<kind>Tag</kind>
<ci:uuid>3</ci:uuid>
<ci:title>Sharing</ci:title>
<ci:createdOn>2006-07-13 12:29:00-07:00</ci:createdOn>
<ci:lastModifiedBy>4</ci:lastModifiedBy>
</item>
<item>
<kind>Contact</kind>
<ci:uuid>4</ci:uuid>
<ct:emailAddress>morgen@example.com</ct:emailAddress>
<ct:firstName>Morgen</ct:firstName>
<ct:lastName>Sagen</ct:lastName>
</item>
</items>
--
MorgenSagen - 14 Jul 2006