Hello,
I have a Microsoft word document that was originally created as a docx file. Subsequently I saved the file as an xml document and then edited some of the tags.
Original WordML Formatting:
Word Formatting after my changes:
I created a macro that takes information from Microsoft Excel and updates the wordml document by searching for the attributes that I created like "COMPANYNAME_KEY".
Everything works great, except on occasional I'd like to open the XML document in word and add a brand new paragraph. When I do this and I click "Save" all of the custom attributes I added to other areas of the documents disappear and revert back to the normal wordml formatting.
How do I preserve the attributes that I created when you click save in Microsoft Word?
Thanks in advance.
I have a Microsoft word document that was originally created as a docx file. Subsequently I saved the file as an xml document and then edited some of the tags.
Original WordML Formatting:
Code:
<w:t>Company ABC</w:t>
Word Formatting after my changes:
Code:
<w:t name="COMPANYNAME_KEY">Company ABC</w:t>
I created a macro that takes information from Microsoft Excel and updates the wordml document by searching for the attributes that I created like "COMPANYNAME_KEY".
Everything works great, except on occasional I'd like to open the XML document in word and add a brand new paragraph. When I do this and I click "Save" all of the custom attributes I added to other areas of the documents disappear and revert back to the normal wordml formatting.
How do I preserve the attributes that I created when you click save in Microsoft Word?
Thanks in advance.