Thanks You. Coudn't fine xml.updateElement.I guess it would be just Update i.e.xml.update.
Is CFFILE required to write to the file.If yes how would we reference the specific element. >I have a little project on riaforge that would be perfect for this >kind of thing: > >http://betterxml.riaforge.org > >Basically, you'd do something along the lines of: > ><cfset xml = createobject('component', >'betterXmlEditor').init(xmlSource) /><!--- xml source can be url, >string or file path ---> ><cfset xml.updateElement('//PARTS/PART[MODEL="P3B-F"]/YEAR', '1973') /> > >It's been a while so I expect the syntax is a slight variation on that. > >HTH, > >Dominic >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316958 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

