wordml aml:annotation  
Author Message
rahul1450





PostPosted: XML and the .NET Framework, wordml aml:annotation Top

I want to delete or add some paragraphs through code in a WordML
document. When I do that I add the aml:annotation node to keep track of
changes. But when I open this document in Word I do not see these
changes highlited as I would find in a document that had gone through
the same changes directly through the MSWord editor.

I checked the xml tags for aml:annotation and they are exactly like
what MSWORD would do on the same operations like addition or deletion.


Would anyone please tell what I am doing wrong


Thanks,
Rahul


.NET Development35  
 
 
Chris Lovett





PostPosted: XML and the .NET Framework, wordml aml:annotation Top

Best solution to this kind of problem is to do the edits the way you want them to appear, then save that document as XML, then "diff" it against the one you are generating. If they are identical then Word should show the same results.