XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 From Word to XML
Subject: rtf2xml is an open source solutions
Date: 2004-01-12 23:21:49
From: Paul Tremblay

My python script rtf2xl is the only open source utility that converts RTF to XML. Give it a try at


http://rtf2xml.sourceforge.net/


I know that wvware is also an open-source project, but wvware converts Word documents to formats such as Latex, but not to XML itself.


rtf2xml converts an RTF document into an XML document with a good amount of structure. It forms lists and can convert headings into sections.


With an xslt stylesheet, you can you can turn the the document that results from an rtf2xml conversion into simplified docbook, TEI, LyX, or XHTML. I have written an xslt stylesheet that works in conjunction with the rtf2xml script to output a simplified docbook document.


rtf2xml has no graphical interfact. You can use it to batch convert many documents at once.


Previous Message Previous Message   Next Message Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938