- Doc: http://sixarm.com/sixarm_ruby_xml_strip/doc
- Gem: http://rubygems.org/gems/sixarm_ruby_xml_strip
- Repo: http://github.com/sixarm/sixarm_ruby_xml_strip
Methods that work on an XML/HTML text string:
- XML.strip_all: delete all extraneous junk
- XML.strip_attributes: delete all attributes
- XML.strip_comments: delete all comments
- XML.strip_microsoft: delete all proprietary Microsoft code
- XML.strip_unprintables: delete all unprintable characters
For docs go to http://sixarm.com/sixarm_ruby_xml_strip/doc
Want to help? We're happy to get pull requests.
To install this gem in your shell or terminal:
gem install sixarm_ruby_xml_strip
To add this gem to your Gemfile:
gem 'sixarm_ruby_xml_strip'
To require the gem in your code:
require 'sixarm_ruby_xml_strip'