perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boysenberry Payne <boysenbe...@humaniteque.com>
Subject For those familiar with HTML::TreeBuilder and HTML::Element
Date Mon, 06 Feb 2006 00:30:06 GMT
Hello,

I'm trying to get upper case html with HTML::TreeBuilder via
HTML::Element->as_HTML
via:

# Build HTML Tree
$self->{tree} = HTML::TreeBuilder->new();
my $tree = $self->{tree};

# Parse HTML
$tree->parse( $html );
$tree->eof;

my $new_html = $tree->as_HTML( '<>&', "", {} );

$html was:

<P ALIGN="LEFT">Test</P>

$new_html after removing <html><body> tags:

<p align="left">Test</p>

Is there a way to make it output uppercase html?

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com


Mime
View raw message