No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with maxx:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
replace_docx_content.rb
test.docx

README

Here's a very simple script to call nokogiri and use xpath to find and modify some text in the document.

I was surprised how difficult it was to find a CLEAN SIMPLE example of this (including unzip/zip), so here is one.

usage: ruby replace_docx_content.rb test.docx

then open test-merged.docx!