New function prepare_xml
Refresh from cache instead of reload
new namespace