RE: looping over xml attributes

2005-02-25 Thread Adrian Lynch
You might find the PDF available here as a nice primer on XML in CF. http://www.macromedia.com/devnet/mx/coldfusion/xml_xslt.html Ade -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 25 February 2005 22:20 To: CF-Talk Subject: RE: looping over xml attributes >

RE: looping over xml attributes

2005-02-25 Thread Dave Watts
> How do I reference the 2nd, 3rd, or nth index? They're all > named "index" so Document.indexes["index"] always returns the > first. Multiple child elements of a single parent, with the same name, will be exposed as an array within CF if I recall correctly. yourxmldocvar.Document.Indexes.Inde

looping over xml attributes

2005-02-25 Thread Marlon Moyer
If I have an xml file like so: 1 Naples FL 2/24/1995 Board of Directors 225 Minutes of Meeting of The Board of Governors and then I use xmlparse to transform it into a structure, I end up with a structure that contains something like this: Document -- Indexes -- -- Index -- -- -- XMLAttri

Re: XML Attributes

2004-07-14 Thread Ben Densmore
, "sun") > > -Matt > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > On Behalf Of Ben Densmore > > Sent: Wednesday, July 14, 2004 11:04 PM > > To: CF-Talk > > Subject: XML Attributes >

RE: XML Attributes

2004-07-14 Thread Matt Liotta
StructKeyExists(doc.element.XmlAttributes, "sun") -Matt > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Ben Densmore > Sent: Wednesday, July 14, 2004 11:04 PM > To: CF-Talk > Subject: XML Attributes > > Is ther

XML Attributes

2004-07-14 Thread Ben Densmore
Is there a way to tell what attributes an element has? The Xml file I'm working with has an element named pattern, but it can have different attributes. One can look like: and another can look like: This is causing my code to break because as it loops through it's looking for the attribute sun