I didn't use Delphi 7 after all - I only have the Personal edition, which lacks the functionality I need.
So, I turned to my VS.NET Beta 2 - created an adapter and a dataset basically using drag-and-drop, and typed about 5 lines of C# in - and now I have an XML file from the database!!
Next problem. I want to convert the XML to HTML, so I need an XML Stylesheet. The problem comes when I try to output a link to a file ...
<td> <a href="<xsl:value-of select="FileLink"/>"> Click Me </a> </td>
... there's a syntax problem with double-quotes in there. Any suggestions?