You are here: Re: get attribute value from an XML tag « PHP Programming Language « IT news, forums, messages
Re: get attribute value from an XML tag

Posted by Janwillem Borleffs on 08/30/06 19:30

Alex wrote:
> how do i get the attribute "href" value using the following script ?
>
[...]
> function startTag($parser, $data){
> global $current_tag;
> $current_tag .= "*$data";
> }
>

By adding support for a third argument to this functions, which will either
be null or an array containing the attribute names and their values (when
available).

See: http://www.php.net/xml_set_element_handler


JW

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация