This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XML to Word Document


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]