>
> Hi, and thanks
> I get this. Oh, I hope it means something. I am totally out of my depth :(
>
;) no worries. This output tells me that you will not be able to use these
components with BlueDragon because it is handling XML completely differently
under the hood. This blog, and the article it refers to, explains what that
was all about
http://fusion.dominicwatson.co.uk/2007/09/coldfusion-objects-are-java-objects.html


 Look to either Sean's or Isaac's posts for your solution. Here is Sean's
code in a bit more detail (though untested):

<cfset myXML = XMLParse(PathToYourXMLFile)>

<cfloop query="someQueryWithYourIDs">
 <cfset matchingElements = XMLSearch(myXML, "//facet/[EMAIL PROTECTED]")>

 <cfloop from="1" to="#ArrayLen(matchingElements)#" index="i">
  <cfset matchingElements[i].xmlAttributes["live"] = "true">
 </cfloop>
</cfloop>

<cffile action="write" file="#PathToYourXMLFile#"
output="#ToString(myXML)#">

Regards,

Dominic


On 27/12/2007, Dave Francis <[EMAIL PROTECTED]> wrote:
>
> Hi, and thanks
> I get this. Oh, I hope it means something. I am totally out of my depth :(
>
> com.naryx.tagfusion.cfm.xml.cfXmlData
> EXTENDS: com.naryx.tagfusion.cfm.engine.cfStructData
> EXTENDS: com.naryx.tagfusion.cfm.engine.cfJavaObjectData
> EXTENDS: com.naryx.tagfusion.cfm.engine.cfData
> EXTENDS: java.lang.Object
>
> -----Original Message-----
> From: Dominic Watson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 27, 2007 10:13 AM
> To: CF-Talk
> Subject: Re: Difficulty adding xml attribute
> --
> Blog it up: http://fusion.dominicwatson.co.uk
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:295414
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