Learning ColdFusion 8: Defining Tags With AttributeCollection

<!---
	With ColdFusion 8's new attributeCollection tag,
	we can now define a structure that has all the
	same attributes. This struct can then be used to
	define the tag.
--->
<cfset objAttributes = {
	action = "COPY",
	source = ExpandPath( "./girl.jpg" ),
	destination = ExpandPath( "./girl3.jpg" )
	} />
 
<!--- Copy flie. --->
<cffile
	attributecollection="#objAttributes#"
	/>

For Cut-and-Paste