Re: Is there any package to convert a word formatted documet to xml?
- From: Arndt Roger Schneider <arndt.roger@xxxxxx>
- Date: Tue, 24 Nov 2009 10:50:43 +0100
Steve Ball schrieb:
BTW, I (mostly) wrote and currently maintain the DocBook roundtripping
system. It does specifically target DocBook, but not for general-
purpose conversion of documents; just for roundtripping. However, it
can be adapted for general-purpose conversion.
Thanks!
Although, I don't use roundtrip --I am writing directly
in DocBook. Using roundtrip for wordprocessor
text conversion appears to be the best approach to get structured
documents. The styles are the only reliable structure element
in a word document.
What's needed is sort of a
style mapper in word itself --VBA-- replacing the
current styles with those originating from DocBook.
The Fo-way is also interesting, it makes it possible
to design text-chunks in a wordprocessor and reuse it wysiwyg
in a Tk interface, for a sophisticated online help system for example.
-roger
The best thing to do is use Word 2003 or Word 2007. Both of theseSounds like a lot of work.
versions of Word save their documents as XML which can then be
transformed using XSLT (either TclXML or tDOM may provide the
transformation infrastructure). With Office 2007, the Word document is
actually a Zip file which can be mounted as a virtual filesystem using
Tcl's VFS.
HTHs,
Steve Ball
On Nov 23, 10:07 pm, Arndt Roger Schneider <arndt.ro...@xxxxxx> wrote:.
Anil A Kumar schrieb:
Hi all,word is already xml.
My name is Anil Kumar. I am planning to develop a tool, which converts
a microsoft word/pdf formatted file to a xml file.
I know parsing an xml file using tDom package. I just want to know how
to convert a word/pdf formatted document to an xml formatted document
using TCL. Is there any package available?
Thanks in advance!
Thanks for thr entire comp.lang.tcl group, because you helped me when
I started learning tDom.
Regards,
Anil A Kumar
Otherwise see roundtrip inside the docbook-xsl on sourceforge,
there is a word template which allows you to import and export
word documents from and to docbook.
-roger
- References:
- Is there any package to convert a word formatted documet to xml?
- From: Anil A Kumar
- Re: Is there any package to convert a word formatted documet to xml?
- From: Arndt Roger Schneider
- Re: Is there any package to convert a word formatted documet to xml?
- From: Steve Ball
- Is there any package to convert a word formatted documet to xml?
- Prev by Date: Re: Need a file based database library
- Next by Date: Re: Need a file based database library
- Previous by thread: Re: Is there any package to convert a word formatted documet to xml?
- Next by thread: Re: Is there any package to convert a word formatted documet to xml?
- Index(es):
Relevant Pages
|