Replace "example.php" with a CFM file that produces XML document as text (not ColdFusion XML object). That's it!
You can either get the data from database using cfquery or cfstoredproc. If you use MS-SQL Server or any enterprise DBMS, then I highly recommend to use cfstoredproc.