note 4443 deleted from XML parser functions by ronabop

From: Date: Mon, 02 Oct 2000 09:40:15 +0000
Subject: note 4443 deleted from XML parser functions by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5825@lists.php.net to get a copy of this message
Is there any way to return an element attribute value from the Start Element function in xml_set_element_handler? I haven't found how can I make my script know that value while parsing an xml, so I could define the place where it should be in resulting html. I've not found any way except printing it from that start function, but that is not the thing, I need to place it wherever I want. e.g.: <quantity unit="kg">20</quantity> need an output: <td>20 $unit</td> where $unit = value of the unit attribute

« previous php.notes (#5825) next »