Hi Jim, wave operates on a tree data structure. You can either insert or remove an entire subtree. If you have the following markup
<doc><line>Foo</line><line>Bar</line></doc> and you want to join the two lines, then you must remove both lines (each is a sub-tree of <doc>) and insert a new one. This conflicts with others editing one of these lines concurrently. Thus, you must plan your data structure in a way which allows the common operations to be represented by inserting or removing complete sub-trees. Using <doc><line></line>Foo<line></line>Bar</doc> does exactly this, because <line></line> is a sub-tree which can now easily be removed. Et voila, the two lines are joined. Hope this helps Torben -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
