I have a string that is of the format:
<!--Vendor: A, Format: IFrame, IO: -->
<iframe src="xyz.com "scrolling="no" width="180" height="150" frameborder="0" marginheight="0" marginwidth="0" title="Advertisement"></iframe>
This looks xml like string to me. However $xml=new SimpleXMLElement($string) gives format error. I tried adding in end but no use. I need to extract various parameters out of this. What is the best way to go about it?