On Tue, April 11, 2006 3:25 am, Mohsen Pahlevanzadeh wrote: > I need to retrive content of my XML element.my element is translation. > <translation>MY _CONTENT</translation> > Of course i wanna use PHP4 instead 5. > Please help me..... > Yours,Mohsen There are 3 or 4 different XML parsing engines available for PHP 4. Pick one. If all else fails: $xml = "<translation>MY _CONTENT</translation>"; preg_match("/<translation>([^<]*)<\\/translation>/", $xml, $content); echo $content[1]; -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php