semiautomatic generation of navigations with sub menus
autocorrect relativ paths in href and src attributes