Hello. Read http://se.php.net/manual/en/ref.simplexml.php. The simpleXML stuff in PHP5 is great. However if you need to insert new nodes you need to use the DOM functions as well. Best regards, Fredrik Davidsson -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Muhammad Sohail Khan Sent: den 21 juni 2005 11:29 To: php-objects@xxxxxxxxxxxxxxx Subject: How to parse xml using php5.? .... Dear friends.. How to get output from the xml file...Plz write the code...THnx in advance.. e.g. <family> <father> <name>abc</name> <age> 60 </age> <mother> <name>xyz</name> <age> 50 </age> </mother> </father> </family> i want to get the data of this xml file.. Regards.. PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/