With Oracle 8i, you can have your query output be sent to a file as XML. I considered it fairly difficult to configure the database to do this, but it was my first time experimenting with 8i. If I did it again it would only take a fraction of the time it originally took I think.