Mega Code Archive
Categories
/
Php
/
XML
Parsing XML in a string
$channel =<<<_XML_
What's For Dinner
http://menu.example.com/
what to eat tonight.
_XML_; $xml = simplexml_load_string($channel);