HTML::TreeBuilder man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



lib::HTML::TreeUserdContributed Perl Doclib::HTML::TreeBuilder(3)

NAME
       HTML::TreeBuilder - Parser that builds a HTML syntax tree

SYNOPSIS
	$h = new HTML::TreeBuilder;
	$h->parse($document);
	#...

	print $h->as_HTML;  # or any other HTML::Element method

DESCRIPTION
       This is a parser that builds (and actually itself is) a
       HTML syntax tree.

       Objects of this class inherit the methods of both
       HTML::Parser and HTML::Element.	After parsing has taken
       place it can be regarded as the syntax tree itself.

       The following method all control how parsing takes place.
       You can set the attributes by passing a TRUE or FALSE
       value as argument.

       $p->implicit_tags
	   Setting this attribute to true will instruct the
	   parser to try to deduce implicit elements and implicit
	   end tags.  If it is false you get a parse tree that
	   just reflects the text as it stands.	 Might be useful
	   for quick & dirty parsing.  Default is true.

	   Implicit elements have the implicit() attribute set.

       $p->ignore_unknown
	   This attribute controls whether unknown tags should be
	   represented as elements in the parse tree.  Default is
	   true.

       $p->ignore_text
	   Do not represent the text content of elements.  This
	   saves space if all you want is to examine the
	   structure of the document.  Default is false.

       $p->warn
	   Call warn() with an appropriate message for syntax
	   errors.  Default is false.

SEE ALSO
       the HTML::Parser manpage, the HTML::Element manpage

COPYRIGHT
       Copyright 1995-1996 Gisle Aas. All rights reserved.

       This library is free software; you can redistribute it
       and/or modify it under the same terms as Perl itself.

24/Aug/1997	       perl 5.005, patch 03			1

lib::HTML::TreeUserdContributed Perl Doclib::HTML::TreeBuilder(3)

AUTHOR
       Gisle Aas <aas@sn.no>

24/Aug/1997	       perl 5.005, patch 03			2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net