RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Chris C. Cooper
What is a practical use for XML? What kind of situation would call for using it? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Powell Sent: Monday, January 01, 2007 8:54 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] XML CF Also, I would

RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Gerrey . Mary-Catherine
Chris C. Cooper [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/02/2007 08:40 AM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject RE: [ACFUG Discuss] XML CF What is a practical use for XML? What kind of situation would call for using it? From: [EMAIL

Re: [ACFUG Discuss] XML CF

2007-01-02 Thread Andrew Powell
:[EMAIL PROTECTED] On Behalf Of Andrew Powell Sent: Monday, January 01, 2007 8:54 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] XML CF Also, I would suggest Jeff Peters' book on the CF XML Object: http://www.cafepress.com/protonarts.50984013 ap On Jan 1, 2007, at 8:31 PM

Re: [ACFUG Discuss] XML CF

2007-01-02 Thread Teddy Payne
respond to discussion@acfug.org To discussion@acfug.org cc Subject RE: [ACFUG Discuss] XML CF What is a practical use for XML? What kind of situation would call for using it? -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Andrew Powell

Re: [ACFUG Discuss] XML CF

2007-01-02 Thread Gerrey . Mary-Catherine
Re: [ACFUG Discuss] XML CF XML is typicaly there for storage of information in a homogenous way. John's suggestion of WDDX makes short hand of CFML constructs and is adaptable to JS and XML format. XML is used for configuration files, datasources and webservices just as a couple

RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Charlie Arehart
@acfug.org Subject: Re: [ACFUG Discuss] XML CF I will be using CF to get things in and out, just not sure of the best logic. I'm been looking at the docs plus some other sites out there and copying code snippets. Hoping it will set up some of the page flow for later on. Come on, trying to learn

Re: [ACFUG Discuss] XML CF

2007-01-02 Thread Teddy Payne
*To:* discussion@acfug.org *Subject:* Re: [ACFUG Discuss] XML CF I will be using CF to get things in and out, just not sure of the best logic. I'm been looking at the docs plus some other sites out there and copying code snippets. Hoping it will set up some of the page flow for later on. Come

RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Chris C. Cooper
://www.cooperebusiness.com/ _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart Sent: Tuesday, January 02, 2007 10:37 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] XML CF MCG, your initial explorations with XML and CF are not unusual. You've gotten some good

RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Charlie Arehart
with it also.) /Charlie http://www.carehart.org/blog/ _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, January 04, 2007 12:56 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] XML CF Good to hear. Already printed out and plan

RE: [ACFUG Discuss] XML CF

2007-01-01 Thread John Mason
8:13 PM To: discussion@acfug.org Subject: [ACFUG Discuss] XML CF I've not really worked with XML and CF. I've gotten some basics down, and have looked, but am iffy on my logic. -You read the XML file -Read the length of the data from the XmlChildren array -Loop over the parsed XML to put

RE: [ACFUG Discuss] XML CF

2007-01-01 Thread John Mason
] Sent: Monday, January 01, 2007 8:13 PM To: discussion@acfug.org Subject: [ACFUG Discuss] XML CF I've not really worked with XML and CF. I've gotten some basics down, and have looked, but am iffy on my logic. -You read the XML file -Read the length of the data from the XmlChildren array -Loop

Re: [ACFUG Discuss] XML CF

2007-01-01 Thread Andrew Powell
1. Read the XML file with CFFILE 2. Parse the xml string with xmlParse() --optional, but recommended-- narrow your XML document down to an array of of your data elements using xmlSearch() and the xPath to your data 3. loop over data and do what you will with it (conditionals to check,

Re: [ACFUG Discuss] XML CF

2007-01-01 Thread Andrew Powell
Also, I would suggest Jeff Peters' book on the CF XML Object: http://www.cafepress.com/protonarts.50984013 ap On Jan 1, 2007, at 8:31 PM, Andrew Powell wrote: 1. Read the XML file with CFFILE 2. Parse the xml string with xmlParse() --optional, but recommended-- narrow your XML document