Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ODT to text conversion



On 05/02/07 13:49, Bob - BLU wrote:
> I'm trying to put together a Linux command-line tool chain to convert 
> OpenOffice.org odt (odf) files to ascii text files while preserving some 
> basic text formatting....

Thanks to all those whom replied.  Since my requirements where very narrow and minimal I opted to write a script that simply rips through the document at the string/character level, extracts, formats and prints out what I want (it's nice that xml is ascii).  Not a very sexy or extensible solution, but simple and fast.

Next time I have to redo this I'll look into programming with xslt and using xsltproc to grok it:

  http://books.evc-cit.info/odbook/apb.html
  http://xmlsoft.org/XSLT/xsltproc2.html


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org