If you have control over the xml format, I would suggest just using the wddx
tags to save and call up query info in a xml format that wddx uses.
 
John
[EMAIL PROTECTED] <blocked::mailto:[EMAIL PROTECTED]> 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
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 over the parsed XML to put things into a query
-Output data or whatever
 
-Now to get a specific 'record', you do the same above, except putting an if
statement in your loop to add things your query (or select the specific item
in the query)
 
-To add/ modify/ delete things, you do whatever to the query, convert it to
XML (or modify the XML object itself) and then rewrite the XML file
 
This sounds cludgy to me, I've got to be missing something.  What if you
have a large dataset (which I won't in this case)?
 
Thanks,
 
mcg
(Yes it's New Year's Day, but working on mom's website, and the USC - MICH
game isn't terribly interesting)
 
 
 
 
 

 

-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=gin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to