Skip to content

maxx/nokogiri-docx-manipulation-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published