xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis.Mast...@log-net.com
Subject Re: convert from XSL-FO to MSWORD
Date Thu, 16 Feb 2006 16:44:30 GMT
Below is a VERY simple framework sample stylesheet to get you started.  I 
did not go this route due to the fact that WordML is not supported in 
older versions of Word:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?mso-application progid="Word.Document"?>
<xsl:stylesheet version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">

        <xsl:output method="xml" indent="yes" encoding="utf-8"/>

<xsl:template match="/">

<w:wordDocument>
<w:body>
        <w:p>
                <w:r>
                        <w:t>This is a very simple paragraph that will be 
rendered OK in Word on an XP machine.  Add stuff here and enjoy.</w:t>
                </w:r>
        </w:p>
</w:body>
</w:wordDocument>
</xsl:template>
</xsl:stylesheet>


Good luck.
-Lou




"Mohamed, Amgad" <Amgad.Mohamed@ams-europe.com> 
02/16/2006 10:07 AM
Please respond to
fop-users@xmlgraphics.apache.org


To
"fop-users@xmlgraphics.apache.org" <fop-users@xmlgraphics.apache.org>
cc

Subject
convert from XSL-FO to MSWORD






Dear All,
 
Is there is any way to convert from XSL-FO to MSWORD?
 
Best Regards,
Amgad Hanafy.

Mime
View raw message