Yep, exactly what I needed and expected. Many thanks,
On 9/30/05, Dave Carabetta <[EMAIL PROTECTED]> wrote: > On 9/30/05, Ryan Guill <[EMAIL PROTECTED]> wrote: > > So will it give an error or what exactly, do you know? I am assuming > > it will try to validate it as a component type of xml and will bomb > > then. > > > > I just ran a test for you and this is what is says (it does throw an error): > > The value returned from function bar() is not of type xml. > > I created a CFC call Foo.cfc with a method in there called bar(): > > <cfcomponent output="false"> > <cffunction name="bar" returntype="xml" access="public" > output="false"> > <cfset var myXML = "" /> > > <cfxml variable="myXML"><cfoutput> > <DYNCONFIG> > <!--- Overrides the Input file name ---> > <ELEMENT> > <LOCATOR>TOOL(MyCSV)/DATA_FILE</LOCATOR> > <VALUE>\\test\\test1\\fileName.csv</VALUE> > </ELEMENT> > </DYNCONFIG></cfoutput> > </cfxml> > > <cfreturn myXML /> > </cffunction> > </cfcomponent> > > Hope this helps? > > Regards, > Dave. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219759 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