<?xml version="1.0" encoding="utf-8"?>
<happyface>
 <title>${hf.config.get('template', 'web_title')}</title>
% for category in category_list:
 <category>
  <name>${category.name}</name>
  <title>${category.config['name']}</title>
  <status>${category.status}</status>
  <type>${category.type}</type>
  <link>${hf.url.join(protocol_host, category.url(time=run['time']))}</link>
 % for module in category.module_list:
  <module>
   <name>${module.instance_name}</name>
   <title>${module.module_name}</title>
   <type>${module.type}</type>
   <status>${module.dataset['status']}</status>
   <time>${run['time'].strftime('%Y-%m-%d %H:%M')}</time>
   <link>${hf.url.join(protocol_host, module.url(only_anchor=False, time=run['time']))}</link>
  </module>
 % endfor
 </category>
% endfor
</happyface>
<?xml version="1.0" encoding="utf-8"?>
<happyface>
 <title>${hf.config.get('template', 'web_title')| x}</title>
% for category in category_list:
 <category>
  <name>${category.name}</name>
  <title>${category.config['name']| x}</title>
  <status>${category.status}</status>
  <type>${category.type}</type>
  <link>${hf.url.join(protocol_host, category.url(time=run['time']))}</link>
 % for module in category.module_list:
  <module>
   <name>${module.instance_name}</name>
   <title>${module.config["name"]| x}</title>
   <type>${module.type}</type>
   <status>${module.dataset['status']}</status>
   <time>${run['time'].strftime('%Y-%m-%d %H:%M')}</time>
   <link>${hf.url.join(protocol_host, module.url(only_anchor=False, time=run['time']))}</link>
  </module>
 % endfor
 </category>
% endfor
</happyface>

Fix XML module titles and escape them.
Fix XML module titles and escape them.


git-svn-id: f50160b2b845c6bcd4e57c8186383b5eb743a915@770 5ec1a27d-59bc-451c-a1e5-77859e3e35f3
