Adding a WORD2003.xml file to a DOCX

S

stelling

Hi,

In my application I have to add a word2003.xml file to an existing (newly
generated ) docx file; the code to do this is already created an running;

I store the word2003.xml file in the /word/.. directory of the docx and
define all the relations in de rel file.

but what must i specify in the [content-types].xml file? what is the
contenttype that I should use for a WORD2003xml file?

Any help would be nice.


Han



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4048 (20090501) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
C

Cindy M.

Hi Han,
In my application I have to add a word2003.xml file to an existing (newly
generated ) docx file; the code to do this is already created an running;

I store the word2003.xml file in the /word/.. directory of the docx and
define all the relations in de rel file.

but what must i specify in the [content-types].xml file? what is the
contenttype that I should use for a WORD2003xml file?
If I'm following correctly, you should ask this question in the
OpenXMLDeveloper.org forums. That's where manipulating the 2007 OpenXML file
formats is discussed.

I should think it wouldn't be any different than inserting any other kind of
file into a document. As inserting files usually triggers a converter, you'd
probably have to insert a *link* to the file, rather than the file itself.
Then Word will trigger the converter and display the file when it opens the
document. That would mean inserting an IncludeText field into the
document.xml.

But if you really think you can insert the other file type, then the forums
at OpenXMLDeveloper.org might be able to help.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :)
 

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