Microsoft Developer Network > Forums Home > Office Live Small Business Forums > Office Live Small Business - Web Site > How i generate MS doc using xml & xslt with richtext functionality
Ask a questionAsk a question
 

QuestionHow i generate MS doc using xml & xslt with richtext functionality

  • Tuesday, September 01, 2009 11:57 AMkecy 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>

     

    <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

    </

     

    this