Re: [ACFUG Discuss] XML Import/parse help - 3 questions about sample data

2008-06-11 Thread Steven Ross
I also recommend using the w3c xpath tutorial when i forget syntax I always look there first... http://www.w3schools.com/XPath/default.asp On Wed, Jun 11, 2008 at 11:53 AM, Charlie Arehart <[EMAIL PROTECTED]> wrote: > Derrick, besides Steven's useful replies to you so far, since you said > you

RE: [ACFUG Discuss] XML Import/parse help - 3 questions about sample data

2008-06-11 Thread Charlie Arehart
Derrick, besides Steven's useful replies to you so far, since you said you were green with CF/XML processing, I can't recommend highly enough that you spend 30 minutes reading this wonderful guide: Utilizing XML and XSLT in ColdFusion MX http://www.adobe.com/devnet/coldfusion/articles/xmlxslt.

Re: [ACFUG Discuss] XML Import/parse help - 3 questions about sample data

2008-06-11 Thread Steven Ross
remove the period... ie: selectedElements[i]["fn:image"].XmlText; -Steven On Wed, Jun 11, 2008 at 9:20 AM, Derrick Peavy < [EMAIL PROTECTED]> wrote: > Steven thank you for the reply. Mixed results. One worked, one did not, > haven't tried accessing the multiple children (yet). > > > Accessing the

Re: [ACFUG Discuss] XML Import/parse help - 3 questions about sample data

2008-06-11 Thread Derrick Peavy
Steven thank you for the reply. Mixed results. One worked, one did not, haven't tried accessing the multiple children (yet). Accessing the struct item (link/href) works fine. In fact, I gave that a whirl later in the night after sending this message ... for (i = 1; i LTE Ar

Re: [ACFUG Discuss] XML Import/parse help - 3 questions about sample data

2008-06-11 Thread Steven Ross
to reference fn:image I believe you would do the same as when you want to preserve the case of a struct and use brackets and the name ie: XMLDoc["fn:image"].XMLText multiple child elements of the same name... thats kinda tricky but, it would be easy enough to select only the child nodes of a specif