Thanks Dominic, read your blog on betterXML, and it looks great. I'll give
it a whirl.

-----Original Message-----
From: Dominic Watson [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 23, 2007 10:38 AM
To: CF-Talk
Subject: Re: Difficulty adding xml attribute


My example wasn't quite right, should be:

 <cfinvoke component="betterXML_editor" method="init" returnvariable="myXML"
src="#myXMLFilePath#">

<cfscript>
 myXML.CreateAttribute("//facet/[EMAIL PROTECTED]", "isLive", "true");
 myXML.Write(#myNewXMLPath#);
</cfscript>

Dominic




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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

Reply via email to