GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CSS::INLINER::TREEBUILDER (3)

.ds Aq ’

NAME

CSS::Inliner::TreeBuilder - Parser that builds a HTML syntax tree

CONTENTS

SYNOPSIS



 use CSS::Inliner::TreeBuilder;

 foreach my $file_name (@ARGV) {
   my $tree = CSS::Inliner::TreeBuilder->new();
   $tree->parse_file($file_name);

   print "Hey, heres a dump of the parse tree of $file_name:\n";
   $tree->dump(); # a method we inherit from HTML::Element
   print "And here it is, bizarrely rerendered as HTML:\n", $tree->as_HTML, "\n";

   $tree = $tree->delete();
 }



DESCRIPTION

Class to handling parsing of generic HTML

This sub-module is derived from HTML::TreeBuilder. The aforementioned module is almost completely incapable of handling non-standard HTML4 documents commonly seen in the wild, let alone HTML5 documents. This module basically performs some minor adjustments to the way parsing and printing occur such that an acceptable result can be reached when handling real world documents.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CSS::INLINER::TREEBUILDER (3) 2015-11-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.