Klaus
I see what you are getting at, I think. I have created a new document using
a template which contains the headers and footers, section structure etc
that I use, then inserted the XML and I get the result I expected.
I'm left puzzled though. I thought if you supplied the complete document
content as you do with InsertXml, then all the information needed for Word
to render the document correctly was in the Word XML. Is it the case that
the previous settings ( layout, headers etc) are still applied even though
they are not referenced in the WordXml. When I save the Document which is
not being rendered correctly, the XML looks OK, but when I reopen the
document it is still not rendered correctly!. Or is there a way to force
Word to "start again" with the document with the new Xml?
hayrob said:
I have an Word Document stored in an xml file. When I open the
document using word, I get the result I expect.
When I start Word, add a new blank document, use InsertXML to insert
the Xml in my Word file, the Word document does not look the same.
Is there a trick I am missing here?
Hi,
If you open the WordML file, it'll be formatted with the styles from that
file.
If you insert it in some Word document, it'll be formatted with the styles
of that document.
Same for page layout, headers and footers, option settings that might affect
the layout, ...
Regards,
Klaus