Ivan Enderlin - 2007-07-30 11:58:15 - In reply to message 3 from Benson Lu
there is no problem with your code.
PHP key function need an array, we're agree about that. And, PHP has a problem with his own XML parser. The parser need a handler tag, it means :
is not correct. Parser doesn't find any handler tag, and doesn't built array correctly.
If you renseign directly the source, second parameter will be set to null. If source in is a file, second parameter will be set to 'FILE'. Take care of that. Look example, maybe you'll find some help :)
Do you understand now ? Is your problem resolved ?