I was able to implement my logic according your advice. It´s just what I needed.
But now, I've another problem. The situation is this:
I've a certified document that will be used to campare documents that are generated for another process. So that process always need to be generate the same file from a given source.
BUT.... there are some attributes values that are "random" values and doesn't affect the document. The specific example is: the w:id attibute of the w:bookmarkStart and w:bookmarkEnd tag.
So, I need some mechanism to indicate which tags or attributes should be excluded from the comparison process.
Is there any way to do this using the AlteredParts class?
Thanks a lot,