Try cfif Config.SiteConfig.SiteSections.UserManager.xmlText, otherwise you are returning the entire node, not the value of the node.
-------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning ...-----Original Message----- ...From: James Smith [mailto:[EMAIL PROTECTED] ...Sent: Monday, January 17, 2005 8:39 AM ...To: CF-Talk ...Subject: RE: XML Variable Issue ... ...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> ... ... ... ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190752 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

