in reply to Converting a data structure to XML

XML::Simple may be able to do the trick. It can convert most records structures into pretty respectable XML, although you must keep an eye on your output to make sure that it's doing what you really want.

Update: It would be deliciously subversive to create ADO.NET/xml datasets w/Perl.

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"