The first throws an error (cannot convert the value of type class coldfusion.xml.XmlNodeList to a boolean), the other two both evaluate to false and skip the codeblock.
> How do they fail? Do you get an error message, or do the > CFIF's not execute? > >I am trying to store some config info in an XML file. > > > >If I run the following code... > ><cfoutput>#Config.SiteConfig.SiteSections.UserManager#</cfoutput> > > > >The expected result... > >True > >Is output to the browser, however the following code samples... > ><cfif Config.SiteConfig.SiteSections.UserManager> > ><cfif Config.SiteConfig.SiteSections.UserManager IS TRUE> <cfif > >Config.SiteConfig.SiteSections.UserManager IS "TRUE"> All fail. > > > >Anyone any idea what I am doing wrong? The XML file > contains the line > ><UserManager>True</UserManager> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190749 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

