This allows the inbuilt python xml modules to perform the include.
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
t = '<section xmlns:xi="http://www.w3.org/2001/XInclude">\n'
for article in articles:
- t += "<xi:include href='file://" + article.abspath(task.env) + "' parse='xml'/>\n"
+ t += "<xi:include href='" + article.abspath(task.env) + "' parse='xml'/>\n"
t += "</section>\n"
save_file(parameter_all, t , create_dir=True)
return 0