Re: How do I populate a model with XML

2010-02-16 Thread Greg Skerman
XML is some stock data i need to pull back on a daily basis. I will store the data in a table once i've got it, but i want to be able to deal with the XML data as a cake model before that. On Wed, Feb 17, 2010 at 3:10 AM, John Andersen wrote: > What is the content of the XML data? What is the pur

Re: How do I populate a model with XML

2010-02-16 Thread John Andersen
What is the content of the XML data? What is the purpose of the data? If you already have a structure in the database that fits the XML data, what actually is your issue? Do I understand your correctly or wrongly :) John On Feb 16, 1:53 pm, Greg wrote: > Hi, > > I'm writing a site that needs

How do I populate a model with XML

2010-02-16 Thread Greg
Hi, I'm writing a site that needs to digest external XML data from a web service. The data then needs to be associated to reference tables in the database. I figure i need to $useTable = false to make the new XML model not point at a database, and $_schema to define the model's data structure, bu