An open API service indexing awesome lists of open source software.

https://github.com/sixarm/sixarm_ruby_xml_strip

SixArm.com » Ruby » XML#strip methods to clean XML & HTML
https://github.com/sixarm/sixarm_ruby_xml_strip

extensions gem ruby strip xml

Last synced: 9 months ago
JSON representation

SixArm.com » Ruby » XML#strip methods to clean XML & HTML

Awesome Lists containing this project

README

          

# SixArm.com → Ruby →
XML#strip methods to clean XML & HTML

* Doc:
* Gem:
* Repo:

## Introduction

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

Want to help? We're happy to get pull requests.

## Install

### Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_xml_strip

### Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_xml_strip'

### Require

To require the gem in your code:

require 'sixarm_ruby_xml_strip'