Mam taki xml:
<item rdf:about="http://jakis-link.pl">
<title>tytul</title>
<link>http://www.inny-link.pl</link>
<description>opis</description>
<dc:creator>creator</dc:creator>
<dc:subject>subject</dc:subject>
<dc:date>2009-11-19T22:46:02Z</dc:date>
</item>
I nie wiem, jak wyciagnac dane z <dc:date>. Bede wdzieczna za pomoc
moze tak :
<?php
$xml="<item rdf:about=\"http://jakis-link.pl\">
<title>tytul</title>
<link>http://www.inny-link.pl</link>
<description>opis</description>
<dc:creator>creator</dc:creator>
<dc:subject>subject</dc:subject>
<dc:date>2009-11-19T22:46:02Z</dc:date>
</item>";
$dom = new domDocument;
$dom->loadXML($xml);
if (!$dom) {
echo 'Error while parsing the document';
exit;
}
$s = simplexml_import_dom($dom);
echo $s->date;
?>
pozdr
AK