Tag Archives: arrayLen()

Determining the number of items in an XML feed in ColdFusion

In a previous example, “Parsing a remote XML feed using the CFFEED tag in ColdFusion”, we saw how you could 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 source, and xmlVar attributes.

The following example shows how you can determine the number of items in an XML feed by using the <CFFEED> tag and arrayLen() method.

Continue reading