Graham
Waplocus It gets far too complicated as you have to start creating and calling functions
All you need to do is use the script I gave you with your own filelist
if you really want to print it from within the xtscript use
print $l1 <xt:include file="/file"> $l2