May 26, 2018

Collection of modules to manipulate HTML syntax trees

This is a collection of modules that represent, create, and extract information from HTML syntax trees.

The modules present in this collection are

HTMLElement - represents the nodes of the HTML syntax trees. The elements have other elements and text segments as children. The HTMLElement class have methods to methods to build, alter, and traverse the structure of the tree.

HTMLTreeBuilder - uses HTMLParser to read HTML document text and build from it a syntax tree made of HTMLElement nodes.

HTMLParse - deprecated. Now just a wrapper around HTMLTreeBuilder

HTMLAsSubs - Easy way to build an HTML syntax tree by nesting functions.

WWW http//