Open Specifications Developer Center > Open Specifications Forums > Office Open Document Format Implementation > how i generate MS word using XML & xslt with rich text functionality
Ask a questionAsk a question
 

Lockedhow i generate MS word using XML & xslt with rich text functionality

Locked

  • Tuesday, September 01, 2009 12:02 PMkecy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,

      i am using xml & xslt for generate MS word doc.

    simple steps for generating ms doc file are-

    1) creating xml file

    2)creating xslt file

     use both files as embeed resourses

    3)transfom xslt and generate MS doc file

     

      when i use simple xml ,it works fine and i got ms doc file

    but when i used rich text functionality in xml like

     

    <I1>

     

    <b> is a text</b>

    This

    </

    <i>is itellic</i>I1>

     

    code works fine and output as msdoc file but with out formatting.

    output comes "this is a text This is itallic" instead "this is a text This is itallic"

     

    Can anyone tell me how to fix this? Any help is greatly appreciated.

    this

     

Answers

All Replies