(.*?)\<\/indicator\>/s", $xml, $bookblocks);
foreach( $bookblocks[1] as $block ){
preg_match_all( "/\(.*?)\<\/name\>/",$block, $author);
preg_match_all( "/\(.*?)\<\/value\>/",$block, $title);
$indicator_tit[]= utf8_decode($author[1][0]);
$indicator_val[]= utf8_decode($title[1][0]);
}
$indicadores = "
";
# buscar santoral
preg_match_all("/\(.*?)\<\/saint\>/s", $xml, $bookblocks);
foreach( $bookblocks[1] as $block ){
preg_match_all( "/\(.*?)\<\/name\>/",$block, $author);
$indicator_santoral[]= utf8_decode($author[1][0]);
}
*/?>
- {$indicator_tit[0]} :{$indicator_val[0]}
- {$indicator_tit[1]} :{$indicator_val[1]}
- {$indicator_tit[2]} : {$indicator_val[2]}
- {$indicator_tit[4]} : {$indicator_val[4]}
- {$indicator_tit[9]} : {$indicator_val[9]}
Santoral
San(ta) =$indicator_santoral[0]?>
Indicadores
=$indicadores?>