Re: Return XML attribute in DOM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-09-07 at 16:37 +0100, Matthew Croud wrote:
> 
> I'm at my wits end here, so close to the finishing line!
> 
> Is there a method to return an attribute value of an XML node using  
> DOM, I can check to see if an attribute exists using hasAttributes()
> But I can't retrieve the value.
> 
> I'm so desperate i've started to eat dirt.
> 
> Many thanks,
> Matt

Doesn't the DOM have the getAttribute() method?

Thanks,
Ash
http://www.ashleysheridan.co.uk




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux