Tag Archives: arrayLen()

Getting started with Arrays in ColdFusion

The following examples show how you can get started with using the various Array functions in ColdFusion.

Continue reading Getting started with Arrays in ColdFusion

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 Determining the number of items in an XML feed in ColdFusion