I have just released an initial version of a component that makes CRUD
operations on XML in CF6 & 7 a breeze (both in process speed and amount of
code). It will work in CF8 but I am not sure it is neccessary(?).

Riaforge: http://betterxml.riaforge.org/
More info:
http://fusion.dominicwatson.co.uk/2007/09/betterxml-beta-release.html

Here is a quick example that opens an XML file, removes all the comments and
then writes back to file:

<cfinvoke component="BetterXML_Editor" method="init" src="#myFile#"
returnVariable="xmlFile"/>
<cfscript>
    xmlFile.Delete('//comment()');
    xmlFile.Write(myFile);
</cfscript>

Regards,

Dominic


-- 
Blog it up: http://fusion.dominicwatson.co.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289708
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to