Microsoft word to XML

Discussions

XML & Web services: Microsoft word to XML

  1. Microsoft word to XML (5 messages)

    Do you know the way to convert Microsoft word document to XML?

    agamarjo

    Threaded Messages (5)

  2. Microsoft word to XML[ Go to top ]

    1.> I guess you want to have content in xml (not style) - can try with microsoft vb (alt + F11) & msxml parser. need to define xml schema based on document structure.

    2.> Convert word into rtf document (save as)- and parse it.

    3.> Convert word into HTML (save as)- and parse it (xmlc)
  3. Microsoft word to XML[ Go to top ]

    Can we use Java Native Interface to do the conversion?
  4. Microsoft word to XML[ Go to top ]

    To convert the doc.
    1. Use a 3rd party doc format convertor (Verity, Fulcrum, any open-source? etc).
    2. You can open and save as using COM.

    You could use JNI or a Java/COM/ActiveX bridge to do this.
  5. Microsoft word to XML[ Go to top ]

    Hi,

    maybe this might help:

    http://jakarta.apache.org/poi/

    Regards,
    Lars
  6. Microsoft word to XML[ Go to top ]

    I love POI and regularily use it to interface with Excel spreadsheets. However, the support for Word DOCs has not been written yet and, although its likely to be excellent when its finished, its certainly not an option now.