"C:/path/to/file.xml" #### # stuff here.. my $parser = new XML::DOM::Parser; my $doc = $parser->parsefile ("c:/path/to/file.xml"); $xslt->transform($doc); # proceed