#!/bin/sh
for i in *
do
	name=`echo $i | cut -d"." -f1`
	echo "NOMBRE: $name"
	if test -f $name.xml
	then
		./gen_curso.pl $name.xml > $name.php
		echo "procesado: $i --------------------"
	fi
done

