🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

htree

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htree

0.7.0
Rubygems
Version published
Maintainers
1
Created
Source

= htree - HTML/XML tree library

htree provides a tree data structure which represent HTML and XML data.

== Feature

  • Permissive unified HTML/XML parser
  • byte-to-byte round-tripping unparser
  • XML namespace support
  • Dedicated class for escaped string. This ease sanitization.
  • HTML/XHTML/XML generator
  • template engine
  • recursive template expansion
  • converter to REXML document

== Home Page

http://www.a-k-r.org/htree/

== Requirements

== Download

== Install

% ruby install.rb

== Reference Manual

See rdoc/index.html or http://www.a-k-r.org/htree/rdoc/

== Usage

Following two-line script convert HTML to XHTML.

require 'htree' HTree(STDIN).display_xml

The conversion method to REXML is provided as to_rexml.

HTree(...).to_rexml

== License

Ruby's

== Author Tanaka Akira akr@fsij.org

[packaged as gem- andrew packer agp@ppolitics.org]

FAQs

Package last updated on 27 Jan 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts