помогите с DOMDocumenthttp://softtime.ru/forumпомогите с DOMDocumenthttp://softtime.ru/forum/read.php?id_forum=1&id_theme=92449#post549277Спасибо добрый человек. Все получилось. "?php foreach($xpath-"query('//div') as $tag) { @$p = trim($xpath-"query('div/span',$tag)-"item(0)-"nodeValue); @$p = trim($xpath-"query('div/span',$tag)-"item(0)-"nodeValue); @$p = trim($xpath-"query('div/div',$tag)-"item(0)-"nodeValue);...помогите с DOMDocumentThu, 2 Jul 2015 20:33:58 +0300indexerпомогите с DOMDocumenthttp://softtime.ru/forum/read.php?id_forum=1&id_theme=92449#post549276а парент здесь нужен? "?php $parent = $xpath-"query('//div')-"item(0); var_dump(trim($xpath-"query('//div/span')-"item(0)-"nodeValue)); // можно и без парента var_dump(trim($xpath-"query('div/span', $parent)-"item(0)-"nodeValue)); // или с...помогите с DOMDocumentThu, 2 Jul 2015 19:01:26 +0300Igorekпомогите с DOMDocumenthttp://softtime.ru/forum/read.php?id_forum=1&id_theme=92449#post549275Никто не знает? может подскажите как выполнить foreach по таким xpath и как выполнить запрос от родительского xpath //div[@class="reportsLine...помогите с DOMDocumentThu, 2 Jul 2015 18:45:48 +0300indexerпомогите с DOMDocumenthttp://softtime.ru/forum/read.php?id_forum=1&id_theme=92449#post549269На html странице в кодировке win-1251 есть повторяющиеся блоки. "div class="reportsLine status_SUCCESS" data-container-name="item"" "i class="icon icon_SUCCESS fa fa-check-circle"""/i" "i...помогите с DOMDocumentThu, 2 Jul 2015 11:27:50 +0300indexer