Hopefully, the error of my ways will be obvious to thos
of you who work with xml a lot, but...HELP!!!
Given this demo xml:
?xml version=1.0?
Products
Category ID=1Air Conditioners/Category
SubCategory ID=1
SubCategoryNameAir Conditioners/SubCategoryName
Rick,
I generally find the easiest way to work through an XML doc is to create a
page that just converts it to an XMLDOC first using cfxml or xmlparse()
and them CFDUMP the result.
This makes it must easier to find the node references you need to loop
through or reference.
I also prefer to
What are the values of xmllennox in the xml page (or what is it supposed to
be derived from)? And what is the search trying to search for?
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: Sunday, January 01, 2012 3:53 PM
To: cf-talk
Subject: RE: XML!
Sorry, guys... complete forgot to post the CF code!
At this point, all I'm really after is the modelName/text()
(See below)...
I just haven't gotten to the point where I understand how
to parse through the node and info, therein. If you need more
code, I'll go to pastbin.
Thanks for the
Try searching directly for the modelName:
cfset result = xmlSearch(xmllennox-products,//modelName)
Dump that result to see how to get the name.
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/
On 2 January 2012 09:18, Rick Faircloth r...@whitestonemedia.com wrote:
At this
BTW, the issue with the existing code is this:
xmllennox-products
CF thinks you are trying to do maths on xmllennox and products by
subtracting one from the other.
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/
On 2 January 2012 10:10, James Holmes james.hol...@gmail.com
6 matches
Mail list logo