Re: InsertXml - not getting the same result as opening xml file

Tech-Archive recommends: Fix windows errors by optimizing your registry



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?


"Klaus Linke" <info@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:uWAV75KYFHA.1092@xxxxxxxxxxxxxxxxxxxxxxx
"hayrob" <straiton@xxxxxxxxxxxxx> wrote:
>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


.



Relevant Pages

  • Re: Word 2003 header and footer
    ... Page Layout View or Print Preview to see them. ... "john" wrote in message ... :I have Word 2003 when I open a doc I cant see headers and footers unless I ...
    (microsoft.public.word.newusers)
  • Re: Examples of building web site navigation for ASP.NET site?
    ... >>But I'm talking more about the graphical elements and layout that needs ... >>headers and footers so I have a consistent look and feel, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Examples of building web site navigation for ASP.NET site?
    ... navigation links (such as going into each section like Products, Company, ... But I'm talking more about the graphical elements and layout that needs to ... headers and footers so I have a consistent look and feel, ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: odd and even page headers, and section breaks
    ... I wish they would have changed the drop-down list in the Layout, Preview, ... previous" has been turned off in all the headers and footers. ... I need page 6 to be an odd page. ...
    (microsoft.public.word.pagelayout)
  • Re: How to modify Normal.dot successfully?
    ... It also suppresses display of headers and footers (in ... attributes of Print Layout view). ... If you ever expect to use the Labels feature in Tools> Letters and Mailings ...
    (microsoft.public.word.docmanagement)