K
Keith Howard
Hello.
I have migrated most of my Word documents from .docx format to .xml (2007)
format in order to obtain the benefits of using search and replace tools over
all files in bulk search and replace operations, without trashing the files
(e.g. which would happen if they were in binary format as opposed to the xml
text file format).
The problem I am having is that Word (intelligently?!) inserts unnecessary
xml tags whenever I do anything, e.g. when inserting new text or deleting
existing text. Note the following series of 4 totally unnecessary tags that
Word inserts:
</w:t></w:r><w:r><w:t>
The result of this is that Word has neutralised what I perceive as the major
benefit of storing Word documents in XML, namely grep'ing (i.e. searching and
replacing) over them.
Does anyone have any clues as to how to get Word to stop inserting these
extra tags?
Thanks.
Keith Howard
I have migrated most of my Word documents from .docx format to .xml (2007)
format in order to obtain the benefits of using search and replace tools over
all files in bulk search and replace operations, without trashing the files
(e.g. which would happen if they were in binary format as opposed to the xml
text file format).
The problem I am having is that Word (intelligently?!) inserts unnecessary
xml tags whenever I do anything, e.g. when inserting new text or deleting
existing text. Note the following series of 4 totally unnecessary tags that
Word inserts:
</w:t></w:r><w:r><w:t>
The result of this is that Word has neutralised what I perceive as the major
benefit of storing Word documents in XML, namely grep'ing (i.e. searching and
replacing) over them.
Does anyone have any clues as to how to get Word to stop inserting these
extra tags?
Thanks.
Keith Howard