On Mon, Aug 31, 2009 at 10:25 AM, tobber harley <[email protected]>wrote:
> > Hey, > > ok some questions more about document operations. I know how to add > and delete tags, but... > > 1. it is possible to edit the content of existing tags, e.g. update > <line>Hello</line> to <line>Hello World</line> > Sure, using the 'characters' operation. http://www.waveprotocol.org/draft-protocol-spec#anchor8 > > 2. how to insert tags in a existing document, > > e.g. > > <line>one</line> > <line>three</line> > > update to > > <line>one</line> > <line>two</line> > <line>three</line> > Using the insertElement operation. > > 3. how can I insert nested tags into a existing tag, e.g. <line>Hello > <image>tobi.jpg</image></line> > ( I think it works with the same mechanism ) > Nesting isn't allowed, but that has more to do with the underlying conversation model than with the capabilities of OT. I am working on documenting the underlying conversation model. Thanks, -joe > > It would be nice, could someone point me in the right direction!!! > > Thanks, > Tobber > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
