1HTML::TokeParser::SimplUes:e:rToCkoennt:rH:iTDbMeuLct:le:adTroaPkteeirPolanr(Ds3oe)cru:m:eSnitmaptlieo:n:Token::Declaration(3)
2
3
4

NAME

6       HTML::TokeParser::Simple::Token::Declaration - Token.pm declaration
7       class.
8

SYNOPSIS

10        use HTML::TokeParser::Simple;
11        my $p = HTML::TokeParser::Simple->new( $somefile );
12
13        while ( my $token = $p->get_token ) {
14            # This prints all text in an HTML doc (i.e., it strips the HTML)
15            next unless $token->is_text;
16            print $token->as_is;
17        }
18

DESCRIPTION

20       This is the declaration class for tokens.
21

OVERRIDDEN METHODS

23   is_declaration
24       "is_declaration()" will return true if the token is the DTD at the top
25       of the HTML.
26
27
28
29perl v5.32.0                   HTM2L0:2:0T-o0k7e-P2a8rser::Simple::Token::Declaration(3)
Impressum