Can I use shell script to create an XML ..?

From: Janice (atkhan_at_gmail.com)
Date: 09/20/04


Date: 20 Sep 2004 14:44:02 -0700

Can I use shell script to create an XML file representing the the
files in the directory? ex:

<filelist>
 <file>
   <name/>
   <.../>
 </file>
</filelist>

Regards,
Tamim