Welcome Guest, Not a member yet? Register   Sign In
I want to use simpleXml to create a sitemap for my website
#2

[eluser]xwero[/eluser]
I don't understand the problem? Because it's a php function you can use it as you were used to.

To pass the object to the view you can do
Code:
$data['xml'] = simplexml_load_file(’sitemap.xml’);
$this->load->view('someview',$data);
and in the view you can use $xml.


Messages In This Thread
I want to use simpleXml to create a sitemap for my website - by El Forum - 01-15-2008, 07:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB