Re: get attribute value from an XML tag
- From: "Janwillem Borleffs" <jw@xxxxxxxxxxxxx>
- Date: Wed, 30 Aug 2006 21:30:19 +0200
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
.
- References:
- get attribute value from an XML tag
- From: Alex
- get attribute value from an XML tag
- Prev by Date: Re: odd mt_srand behavior
- Next by Date: Re: PHP/Perl/Unix Virus: delete config.php files asap
- Previous by thread: get attribute value from an XML tag
- Next by thread: Re: PHP/Perl/Unix Virus: delete config.php files asap
- Index(es):