note 26843 rejected from ref.xml by victor

From: Date: Fri, 15 Nov 2002 07:06:46 +0000
Subject: note 26843 rejected from ref.xml by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-39521@lists.php.net to get a copy of this message
Using php, how do I obtain an Id attribute, for example, the event id or proposition id from the XML file below: <events timestamp="14/11/2002 18:03:51"> <event id="9012682"> <title>CRICKET WORLD CUP - 2003</title> <sport>CKAU</sport> <type_code>W</type_code> <start_time>01/02/2003 02:30:00</start_time> <proposition id="2475520" code="WIN"> <name>AUSTRALIA</name> <odds>2.8</odds> <decimal_odds>2.8</decimal_odds> <version>11</version> <competitor_order>1</competitor_order> </proposition> <proposition id="2475526" code="WIN"> <name>ENGLAND</name> <odds>13</odds> <decimal_odds>13</decimal_odds> <version>11</version> <competitor_order>7</competitor_order> </proposition> </event> </events>

« previous php.notes (#39521) next »