In a previous example, “Converting a query into an XML feed using the CFFEED tag in ColdFusion”, we saw how you could convert a database query into an XML feed by using the
action attribute to “create”.
The following example shows how you can parse a remote XML feed into an XML object using the <CFFEED> tag in ColdFusion by setting the
action attribute to “read” and setting the
<cffeed action="read" source="http://coldfusionexamples.com/feed/" xmlVar="cfexamples" /> <cfdump var="#xmlParse(cfexamples)#" />