Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Convert xml file to word document

Convert xml file to word document

Scheduled Pinned Locked Moved C#
xmltutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Swetha Srinivasan
    wrote on last edited by
    #1

    Hi Is there any way in which i can convert a xml file to a word document..can u please demonstrate with a small example??

    T 1 Reply Last reply
    0
    • S Swetha Srinivasan

      Hi Is there any way in which i can convert a xml file to a word document..can u please demonstrate with a small example??

      T Offline
      T Offline
      Tamer Oz
      wrote on last edited by
      #2

      You can use word interop to write xml file's content to word document. If you google 'how to create document with word interop' you'll find tons of examples.

      S 1 Reply Last reply
      0
      • T Tamer Oz

        You can use word interop to write xml file's content to word document. If you google 'how to create document with word interop' you'll find tons of examples.

        S Offline
        S Offline
        Swetha Srinivasan
        wrote on last edited by
        #3

        Now i am already using the interop object.I just want to know if this can be done in any other way.

        T 1 Reply Last reply
        0
        • S Swetha Srinivasan

          Now i am already using the interop object.I just want to know if this can be done in any other way.

          T Offline
          T Offline
          Tamer Oz
          wrote on last edited by
          #4

          As an other way you can create office open xml file, but this way is much harder. For more information you can visit http://msdn.microsoft.com/en-us/library/aa338205.aspx[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups