Heyas, I need to convert a string in the form: <blah key=value key2=value2 ... keyX=valueX/> Into an associative array eg: arr(key)=value arr(key2)=value2 Is there a quick way to do this? Yes its an XML string, but I want to do it without having to use any extra packages... Cheers! Mark.