I am parsing it - the thing is - I want to parse the local file - not the
remote file. I can speed up the page load times dramatically if I can read a
local file rather than have it hit 4 other websites first.

I am using part of a tag from Bill Rawlinson (RSS_NewsFeed) - utilizing
soxml.cfm - - as I am on a server running CF 6.1 - - I was using XMLParse()
but it was crasing on the UTF-8 files - and the fixes I found for that were
not working.  So - I am hoping this will work.... ?

- Nick

-----Original Message-----
From: Randi Knutson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 2:45 PM
To: CF-Newbie
Subject: Re: XML Parse trouble


First, I will say that I am no expert.  But, I thought you had to parse
the xml data (?)  I have to do this when pulling data via cfhttp.  With
CF-generated I can just call the webservice using cfinvoke, but my little
...Net service won't respond to cfinvoke, only cfhttp.  When you use cfhttp,
I *think* you have to parse it out.

<cftry>
        <cfhttp url="http://www.blahblah.com";>
        </cfhttp>
        <cfset session.myData = cfhttp.fileContent>
        <cfset myXMLData = XMLParse(session.myData)>
        <cfcatch type="any">
              <cfset x = cfcatch />
        </cfcatch>
</cftry>

#myXMLData.XAMArrayName.XMLRowName[i].XMLFieldName.XmlText#
^ get this by looking at the xml tree and end with "xmlText" ^

[email protected] on Thursday, October 26, 2006 at 12:10 PM
-0800 wrote:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2173
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to