[eluser]Unknown[/eluser]
How do you go about it?
Normally I will do it this way:
$xml = simplexml_load_file('sitemap.xml');
to call the xml file you want to work on. Then use the xml elements like this:
<home>
<item>CI is the man</item>
</home>
echo $xml->home->item
So I want to to put the item values in my views: how do I put the
simplexml_load_file('xml file') in my controller?
If there are more easier CI methods please do tell.