Cake v2 how to parse a xml file?

2011-12-13 Thread heohni
Hi, I came from this article: http://bakery.cakephp.org/articles/fahad19/2008/08/26/parsing-xml-files-with-cakephp But under v2 everything is so new to me. And I never workd with cake and xml before, so I am a bloddy beginner in this: App::import('Xml'); should be now App::uses('Xml', 'Lib');

Re: Cake v2 how to parse a xml file?

2011-12-13 Thread euromark
its actually App::uses('Xml', 'Utility'); (which can be found out looking into the core files) its also mentioned here: http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html and did you try to read the book?