Re: [xsl] XML to Word Document

Subject: Re: [xsl] XML to Word Document
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 1 Oct 2001 12:29:56 -0600 (MDT)
kalpana rawat wrote:
> Could anybody tell me how to convert XML documents to
> Word Document.

MS Word uses a proprietary, binary format for its .doc files.

There are a lot of people who wouldn't mind seeing a nice,
clear specification of what that format is, but even if you
did find such a spec, XSLT is not suited to generating
arbitrary binary data.

MS Word can read many different types of files, though.
You can generate an RTF file, using the text output method,
assuming you know what text to generate.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec.asp
explains the format of .rtf files.

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread