The specification of the XML format for Microsoft Word is thousands of pages long. I'm sorry, I can't give you a summary.
If you really want to do this, then a good way is to generate a sample Word document by hand and examine the structure of the XML, and then reproduce this as the output of your stylesheet. In fact, though, many of the details you see in a document output by Word are optional, and the only way to find out which is to read the specification.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|