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.htmland did you try to read the book? http://book.cakephp.org/2.0/en/core-utility-libraries/xml.html?highlight=xml#Xml there are also pretty good examples there On 13 Dez., 11:04, heohni <[email protected]> wrote: > Hi, > > I came from this > article:http://bakery.cakephp.org/articles/fahad19/2008/08/26/parsing-xml-fil... > > 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'); right? > > But how do I replace this: $parsed_xml =& new Xml($file); > > Is there anyone out there who could help me with this new v2 version > and parsing a xml file? > > THANKS! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
