
December 4th, 2008, 02:45 AM
|
|
Contributing User
|
|
Join Date: Jul 2008
Posts: 44
Time spent in forums: 14 h 25 m 16 sec
Reputation Power: 2
|
|
I have found other script which works fine now! TY God!
PHP Code:
$doc = new DOMDocument();
$doc->load( 'it4test.xml' );
$articles = $doc->getElementsByTagName( "PRICE" );
foreach( $articles as $artikal )
{
$sifre = $artikal->getElementsByTagName( "WIC" );
$sifra = $sifre->item(0)->nodeValue;
$opisi = $artikal->getElementsByTagName( "DESCRIPTION" );
$opis = $opisi->item(0)->nodeValue;
}
|