| 1 | use strict; |
| 2 | use warnings; |
| 3 | |
| 4 | use Test::More tests => 1; |
| 5 | |
| 6 | use HTML::TreeBuilder::LibXML; |
| 7 | |
| 8 | my $tree = HTML::TreeBuilder::LibXML->new; |
| 9 | $tree->parse( '<div><l>this</l> <l>that</l></div>' ); |
| 10 | $tree->eof; |
| 11 | |
| 12 | is $tree->as_XML, '<html><body><div><l>this</l> <l>that</l></div></body></html>'; |