Re: XML Documents in Word



Hi Alexander,

The public.office.xml group would probably be a bit better than this one...

Are you saying you want to automate the Word object model to insert data into
the XML elements already in the document? Or you want to insert elements into
the document, then put text into them? Or something else?

It just seems a bit strange that you'd populate in the Word object model,
rather than using XML to populate the closed (saved as XML) file...

> I am possibly posting to a wrong group but this one just seems to be closest
> to the topic. Sorry for possible off topic.
>
> I created an XSD schema to be used with a Microsoft Word document that is,
> once the schema is applied, saved as an XML file. I used the office
> development sdk to read about how you can do this and it seems to work fine.
>
> So I have this XML file and now want to change the data inside the elements
> I have defined in the XSD document. What will be the suggested method to do
> this? Any documentation or samples on this would help a lot. (Using C# for
> ..net framework 2.0).
>

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: Frustrated and trying to Add PIAs
    ... Retrieving XML Programmatically in Word ... (Do we need the Word Object Model anymore?) ... > Here's the way I look at it: XML Makes Office PIAs obsolete in the future. ... it would be trivial to do and should have been part of the beta ...
    (microsoft.public.vsnet.vstools.office)
  • Re: C#, docx
    ... use the Word Object model by setting a COM tab reference to the ... 2)Since docx files are XML, parse the Xml with the Office Xml APIs: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Frustrated and trying to Add PIAs
    ... Whereas the Object Model allows you to control all of this stuff nicely ... instead of using slow XML stuff. ... > (Do we need the Word Object Model anymore?) ... >> If you look at Excel as simply a powerful interface for displaying data ...
    (microsoft.public.vsnet.vstools.office)
  • Re: C#, docx
    ... use the Word Object model by setting a COM tab reference to the ... 2)Since docx files are XML, parse the Xml with the Office Xml APIs: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: xml in plain text file on heavy load.
    ... even if the XML file is magically and perfectly ... I want to emphasize that IIS would never be caching that XML file on its own ... Application is NOT synchronizing access to your ASP pages. ...
    (microsoft.public.inetserver.iis)

Loading