> so... for the example in question (xml optional info) you
> would go something like this pseudocode? :
>
> <cfloop for all nodes in xml>
> <cfparam name="#nodename##nodenumber#" default="">
> </cfloop>
>
> then you could safely use those variables in <cfif> ?
You could, but why not just test for the existence of each variable in your
CFIF?
<cfif IsDefined("myvar") and someothertest ...>
I'm a bit confused about how you're building your variable names, as well.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Get the mailserver that powers this list at
http://www.coolfusion.com