Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default XML file -- Word document

1. The xslt has to generate valid WordProcessingML. (Actually it is
possible that it can generate HTML but I forget) You should not need a
..xsd to do the transformation

2. When you open the .xml file manually, click the dropdown at theright
of the Open button, and select Open With Transform. Then you get to
select the transform.

Do you have the WordprocessingML Transform Inference tool?

It can be downloaded from
http://www.microsoft.com/downloads/d...displaylang=en

It is a long time since I did this but I found that in order to simplify
the transform I had to work quite hard to discover what could and could
not be omitted from the WordProcessingML.

As for a definitive reference, I don't know of one, but if you happen to
read German and can get hold of a copy of Word-Programmierung: Das
Handbuch, by Cindy Meister, Thomas Gahler, Christian Freßdorf and Peter
Jamieson, there is a reasonably good description of some of the Word
2003 XML-related techniques.

Peter Jamieson


http://tips.pjmsn.me.uk

Humphrey wrote:
I have been searching the web and manuals for some months now trying to find
a simple method of creating a Word document from an XML file. The file was
created in InfoPath and is a three tiered XML file.
Most instruction sets read 1. Take XML file, 2. (Miracle occurs) 3. Open XSD
file. 4. Use it to generate your Word doc.
Now I know I'm not stupid but I cannot get the process of creating the XSD
and XSLT files required to use in Word. Can someone please point me to a
definitive source of information on how the generate this stuff so I can put
this project to bed once ond for all?
There are 400 XML documents all following the same schema that need to be
converted, so I ain't doing it one by one.

H

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between a programme file & a document file Kym Richards Microsoft Word Help 2 October 17th 06 02:11 AM
when I insert file into my document, the footer in file disappear Elizabeth New Users 2 September 24th 06 06:10 PM
insert a file directory and file list into a document Steve Microsoft Word Help 1 September 19th 05 09:53 PM
FILE CONVERSION FROM MS OFFICE DOCUMENT IMAGING FILE STEVE Mailmerge 1 December 19th 04 05:00 PM


All times are GMT +1. The time now is 04:50 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"