Re: [PHP] SimpleXML returning Object names with hyphens

2005-12-23 Thread Charlie Davis
Sweet. Thanks! The {'..'} works perfectly. Never knew about that syntax. -Charlie Jochem Maas wrote: Charlie Davis wrote: Hey all, I've run into a snag trying to use some XML output from NOAA. what NOAA when its at home? The problem is that some of the fields it sen

[PHP] SimpleXML returning Object names with hyphens

2005-12-23 Thread Charlie Davis
Hey all, I've run into a snag trying to use some XML output from NOAA. The problem is that some of the fields it sends to me have a hyphen in the name. Simple XML then creates objects with hyphens in their name. So here's the object I am having issues with: object(SimpleXMLElement)#7 (2) {