README 686 B

123456789101112131415
  1. perl-HTML-Formatter
  2. HTML::Formatter is a base class for classes that take HTML and format
  3. it to some output format. When you take an object of such a base class
  4. and call $formatter-format( $tree )> with an HTML::TreeBuilder (or
  5. HTML::Element) object, they return the appropriately formatted string
  6. for the input HTML.
  7. HTML formatters are able to format a HTML syntax tree into various
  8. printable formats. Different formatters produce output for different
  9. output media. Common for all formatters are that they will return the
  10. formatted output when the format() method is called. The format()
  11. method takes a HTML::Element object (usually the HTML::TreeBuilder root
  12. object) as parameter.