I have displayed all the pages (including the hidden pages)
from :
function type_xml_sitemap(&$arguments,$properties)
{
global $objbo,$page;
$index_pages = $objbo->getIndex(False,False,True);
.......
........
}
TO:
function type_xml_sitemap(&$arguments,$properties)
{
global $objbo,$page;
$index_pages = $objbo->getIndex(True,True,True);