Create a LaTeX template, populate the template using the data, and then run pdflatex on it.
Note that the XMLish thing you posted is not helpful. Either post the actual XML or the Perl data structure.
Here is an example:
#!/usr/bin/env perl
use warnings; use strict;
use HTML::Template;
use XML::Simple;
my $xml = <<'EO_XML';
EO_XML
my $data = XMLin($xml)->{student};
my @loop_data;
for my $student (values %$data) {
my $address = $student->{address};
push @loop_data, {
HOUSENUM => $address->{housenum}{val},
STREETNAME => $address->{streetname}{val},
};
}
my $tmpl = HTML::Template->new(filehandle => \*DATA);
$tmpl->param(STUDENTS => \@loop_data);
$tmpl->output(print_to => \*STDOUT);
__DATA__
\documentclass{article}
\begin{document}
\end{document}