simplexml_load_file object attributes and values

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

simplexml_load_file object attributes and values

Post by anjanesh »

How can I get the array list of a simplexml_load_file's object ?
I would like to do print_r($obj->which_array_name); to view the array that stores the xml attributes and values.

Thanks
Post Reply