From: "Jan E." Date: 2012-06-27T19:54:53+09:00 Subject: Re: Copying text from MS Word and wrapping in HTML - help please OK, it's in the attachments. The DocxTree reads a docx file and builds a tree consisting of Node objects. Each Node represents a basic text element (paragraphs, headings etc.). You can then specify rules for how to transform the Node objects into HTML (or anything else). The transformation works recursively, so you can build a full HTML fragment by transforming the root node. Attachments: http://www.ruby-forum.com/attachment/7532/docx_tree.rb http://www.ruby-forum.com/attachment/7533/node.rb -- Posted via http://www.ruby-forum.com/.