are you sure that CF is actually getting the XML ? try grabbing it with CFHTTP first instead just to make sure.
On Wed, Sep 21, 2011 at 2:02 PM, Torrent Girl <[email protected]> wrote: > > Hi all > > I tried to parse the XML from the following feed as I normally do and kept > getting error messages ("not defined") on everything I tried. > > http://feeds.jobs2web.com/feeds/view?siteId=246&feedId=682 > > Here are a few snippets that I tried: > > <cfset xmldoc = > XmlParse("http://feeds.jobs2web.com/feeds/view?siteId=246&feedId=682")> > > <cfloop list="#xmldoc#" index="i"> > <cfoutput> > #xmlDoc.jobs.job.title.XmlText#<br /> > </cfoutput> > </cfloop> > > > > <cfset myxmldoc = > XmlParse("http://feeds.jobs2web.com/feeds/view?siteId=246&feedId=682")> > <cfset title = XmlSearch(myxmldoc, "/jobs/job/title")> > <cfset location = XmlSearch(myxmldoc, "/jobs/job/location")> > <cfset department = XmlSearch(myxmldoc, "/jobs/job/department")> > <cfset referencenumber = XmlSearch(myxmldoc, "/jobs/job/referencenumber")> > <cfset link = XmlSearch(myxmldoc, "/jobs/job/url")> > <cfset description = XmlSearch(myxmldoc, "/jobs/job/description")> > > > > Any suggestions? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347557 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

