From: "Jan E." Date: 2012-06-27T21:08:10+09:00 Subject: Re: Copying text from MS Word and wrapping in HTML - help please The files only supply the classes. In order to use them, you have to create your own script, include docx_tree.rb and then instantiate the DocxTree class. Let's say you name your script "main.rb" and put the two files into the subdirectory "classes". Then main.rb would have to look something like this: --------------------- require_relative 'classes/docx_tree.rb' # include the file # the actual code my_docx_file = 'C:/Users/me/Documents/myDocument.docx' docx_tree = DocxTree.new my_docx_file # use the DocxTree class # do something with tree ... --------------------- By the way, you need the zip gem and the nokogiri gem for the class to work. So if you haven't installed them yet, do it before running the code. And you'll probably have to customize the classes. For example, there isn't a method to transform the docx tree directly yet. -- Posted via http://www.ruby-forum.com/.