Posted by Stefan Rybacki on 12/10/05 19:17
ross wrote:
> I am parsing a xml file and would like to create variables on the fly
> with the same name as the XML tags. some of the xml tags are in the form
> "xx-yy" etc.
>
Then use the array approach already presented by another poster.
$xml_vars['xx-yy']='foobar';
Regards
Stefan
[Back to original message]
|