#!/usr/bin/perl
use strict;
use XML::LibXML;
my $fh = *DATA;
my $parser = XML::LibXML->new();
$parser->expand_entities($ARGV[0]);
my $doc = $parser->parse_fh( $fh );
my $root = $doc->getDocumentElement;
print $root->toString(1, 1), "\n";
__END__
]>
&js;
####
Jo Smith
####
&js;