[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office-collab] Generic CT proposal text:p/text:h and ac:change
Hi Ben, Example 6.13.2 as you say shows a change from a text:p to a text:h. It also involves an effective change in style name from Text_20_Body to Heading_20_1. However, as the element name is being changed, the attribute change does not need to be marked as a separate change, the original value is removed with the text:p and the new one is inserted with the text:h. The remove-leaving-content and insert-around-content constructs, although not affecting the content in their subtrees, do include the addition/insertion of the attributes on the element. So when removing the text:p, the text:style-name attribute is also removed and the corresponding attribute is inserted again with the insertion of the text:h. Hope that clears it up. Regards, Tristan On 29 Mar 2011, at 06:13, monkeyiq wrote: > Hi, > Looking at the generic change tracking proposal, example 6.13.2 uses > delta:remove-leaving-content-start to handle the case when a text:p is > toggled to a text:h in revisions. Example 6.9.2 uses ac:changeXXX to > track an attribute's values during a document's lifetime, in the example > the text:style-name is tracked. > > How do these two interact? If I set a style to a heading then the > document will need to move to using a text:h and thus will use a > delta:remove-leaving-content-start to include and strip the original > text:p before outputting the text:h for the current heading style. > > Should ac:change attributes be used for inclusive groups which do not > require mutation between text:p and text:h elements and the > delta:remove-leaving-content-start method used when such an element > change has been forced? > > > > --------------------------------------------------------------------- > To unsubscribe from this mail list, you must leave the OASIS TC that > generates this mail. Follow this link to all your TCs in OASIS at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php > -- Tristan Mitchell, DeltaXML Ltd "Change control for XML" T: +44 1684 869 035 E: tristan.mitchell@deltaxml.com http://www.deltaxml.com Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]