XML Documents in Word

  • Thread starter Alexander Bolotnov
  • Start date
A

Alexander Bolotnov

Hello,

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).

Thanks,

Alexander.
 
C

Cindy M -WordMVP-

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 :)
 
A

Alexander Bolotnov

Dear Cindy,

thanks for your comment. What I was trying to do is this: I have an xml file
that was created in word with an xsd schema. I wanted to change the data for
some of the node from the xml.

Now, the problem is solved, I use the wml2xslt tool to generate an xslt that
will modify my 'just data' xml file.

Alexander.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top