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]
|