> I forgot to include (this is a continuation of what's written below) > is that it one cannot use <cfinclude> in a <cfif> > > <cfif <cfinclude> > > > So, how granular can the includes be? > > // glm
You can't include any cfml tag inside of any other cfml tag ... It would destroy the xml (or xml-like) format and prevent the parser from being able to do it's job. This is one of the big differences between tags and functions -- with a function format where one value and only one value is always returned, i.e. temp = StructNew(); or temp = StructAppend(structa,structb,true); you can nest them because the syntax is different and because there's the rule that one value and only one value is always returned, so <cfset urlencodedformat(htmleditformat(trim(reverse(REReplaceNoCase(...))))> would work ( though I can't imagine the situation you'd use this ) because all these functions expect a string as an argument and return a string as an argument to the function they're inside of... But tags are a different story -- for starters, the order of attributes passed to a tag is immaterial because the attributes are named, i.e. myattribute="#myvalue#", not just #myvalue# ... etc. So when the cf engine sees the < for the <cfinclude, it's left wondering what to do with the <cfif> you never closed. and the same goes for all tag-based languages and architectures... hth S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

