Merlin Morgenstern wrote: > Hi there, > > I am trying to pars an XML file with php. This works if the xml tag > looks like this: <anbieternr>88</anbieternr> > In that case I retrieve the info: $xml->anbieternr > > But now the tag looks different like this: > <imo:anbieternr>88</imo:anbieternr> > > The command $xml->imo:anbieternr does not work in that case. > > Has somebody an idea how to adress this? When used like that 'imo' becomes a name-space. I don't know what sort of parsing you're doing, but typically you would need to set that first. -- Per Jessen, Zürich (-1.5°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php