А вот:
Warning: SimpleXMLElement::__construct() [function.--construct]: Entity: line 1: parser error : StartTag: invalid element name in z:\home\test1.ru\www\index.php5 on line 9
Warning: SimpleXMLElement::__construct() [function.--construct]: </rss> in z:\home\test1.ru\www\index.php5 on line 9
Warning: SimpleXMLElement::__construct() [function.--construct]: ^ in z:\home\test1.ru\www\index.php5 on line 9
Warning: SimpleXMLElement::__construct() [function.--construct]: Entity: line 1: parser error : Extra content at the end of the document in z:\home\test1.ru\www\index.php5 on line 9
Warning: SimpleXMLElement::__construct() [function.--construct]: </rss> in z:\home\test1.ru\www\index.php5 on line 9
Warning: SimpleXMLElement::__construct() [function.--construct]: ^ in z:\home\test1.ru\www\index.php5 on line 9
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in z:\home\test1.ru\www\index.php5:9 Stack trace: #0 z:\home\test1.ru\www\index.php5(9): SimpleXMLElement->__construct('</rss>?') #1 {main} thrown in z:\home\test1.ru\www\index.php5 on line 9
как с этим бороться??
Документ ХМЛ вроде правильный, Яндексовый...