I am struggling  a bit with trying to extract inserted text in a
change tracked ODF
document --

since text inserts are recorded in the document using the 2 elements which share
the id attribute : <text:change-start id="an_id" /> and
<text:change-end id="an_id" />
placed arbitrarily in the document depending upon where new text was inserted
 (See example below ).

How do i get the text content contained by these two tags ?


e.g.

<text:section text:style-name="Sect1" text:name="Section2">
      <text:p text:style-name="Standard"/>
      <text:p text:style-name="Standard">Neque porro quisquam est, qui
dolorem ipsum
      quia dolor sit amet, consectetur, adipisci velit, sed quia non
numquam eius
      modi <text:change-start text:change-id="ct472232592"/></text:p>
    ........................
    ........................
    <text:p text:style-name="Standard">Sed ut perspiciatis unde omnis iste natus
        error sit voluptatem accusantium doloremque laudantium, totam
rem aperiam,
        nihil molestiae consequatur, vel illum qui dolorem eum fugiat
quo voluptas
        nulla pariatur?<text:change  text:change-id="ct472209600"/></text:p>
    ........................
    ........................
 </text:section>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to