Sunday 30 March 2008 3:21:14 pm
Hi All, I'm hoping someone more familiar with this class than me can help me out. I'm developing a cronjob extension to do an xml import. Currently I am getting the content by going the following process:
$category = $ad->elementByName( "Category" );
$category_name = $category->first_child();
$category_value = $category_name->content();
I'm guessing there is a much faster way to get straight at the value. Three lines of code for each value seems excessive. Thanks in advance for any advice.
working at www.wardnet.com
blogging at www.jamesward.ca
|